you should open your docker desktop!
IoT Edge Docker In VS Code deploy and build module to Azure Percept
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.
2 answers
Sort by: Most helpful
-
-
Charles Elwood 106 Reputation points MVP
2022-08-31T14:07:10.867+00:00 @Olivier Bloch - MSFT @Elayashy Abdelrahman @Amira Youssef
OK...did some youtube research and a lot of people get stuck with the W2SL manual installation process.
Once I completed the manual install the docker login command now works!!
I wanted to document that here for other people that get stuck at this step and are newer to Docker.