IoT Edge Docker In VS Code deploy and build module to Azure Percept

Charles Elwood 106 Reputation points MVP
2022-08-29T20:21:45.877+00:00

Trying to build a docker image using VS code to deploy to an Azure Percept Edge device.
Steps I have taken :

  1. Create Azure Container Registry and documented login, server name, password
  2. Cloned Github repository in VS Code
  3. updated .env file with edge device name, connection string to IoT Hub, and added ACR registry information.
  4. 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

Azure Percept
Azure Percept
A comprehensive Azure platform with added security for creating edge artificial intelligence solutions.
72 questions
Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
581 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Elayashy Abdelrahman 1 Reputation point
    2022-08-30T08:09:12.927+00:00

    you should open your docker desktop!


  2. 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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.