Trying to build a docker image using VS code to deploy to an Azure Percept Edge device.
Steps I have taken :
- Create Azure Container Registry and documented login, server name, password
- Cloned Github repository in VS Code
- updated .env file with edge device name, connection string to IoT Hub, and added ACR registry information.
- updated module.json with registry server info
I think I am not setting up docker correctly.
But here is where I see the error message :
5) open terminal in VS code.
6) I can type in docker --version and I see the response
7) but when I use docker login -u -p command I get the following error :
login -u [username] -p [password] [server]
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
error during connect: This error may indicate that the docker daemon is not running.: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/auth: open //./pipe/docker_engine: The system cannot find the file specified.
@Olivier Bloch - MSFT @Amira Youssef