Windows Server Summit 2024
Mar 26 2024 08:00 AM - Mar 28 2024 03:30 PM (PDT)
Microsoft Tech Community

Docker login failure on first use - Windows Server 2016

Copper Contributor

Hi,

We configured Docker on a Windows Server 2016 OS VM and are trying to launch the Hello World application for first use, but are seeing the error in the screen-shot in image 1.

 

We've tried opening port 2375 and setting the environment variable with this command:

           $env:DOCKER_HOST = "<ip-address-of-vm>:2375"

 

Upon clearing DNS cache and running 

     docker pull hello-world

it shows the error, connectex: No connection could be made because the target machine actively refused it.


Also, we observed that no images are currently available (refer screen-shot image 2).


We are looking to get this up and running, please help with any steps to resolve.
Thank you.

0 Replies