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

    @Elayashy Abdelrahman Docker Desktop is trying to open....
    On startup of my windows machine, I see Docker Desktop popup screen but it shows the message " Docker Desktop stopping"
    I also get a popup that says WSL 2 installation is incomplete, but this configuration should be building for Mariner OS for the Azure Percept correct?
    In VS code, I can type in docker --version and I see a response in VS code terminal, so does that mean that Docker is installed?

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

    @Charles Elwood Glad to hear your issue is resolved. Appreciate for sharing the resolution.
    We will look into this feedback and share it with the respective teams for documentation update if needed.