Docker login failure on first use - Windows Server 2016

%3CLINGO-SUB%20id%3D%22lingo-sub-2339956%22%20slang%3D%22en-US%22%3EDocker%20login%20failure%20on%20first%20use%20-%20Windows%20Server%202016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2339956%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20configured%20Docker%20on%20a%20Windows%20Server%202016%20OS%20VM%20and%20are%20trying%20to%20launch%20the%20Hello%20World%20application%20for%20first%20use%2C%20but%20are%20seeing%20the%20error%20in%20the%20screen-shot%20in%20image%201.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe've%20tried%20opening%20port%202375%20and%20setting%20the%20environment%20variable%20with%20this%20command%3A%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%24env%3ADOCKER_HOST%20%3D%20%22%3CIP-ADDRESS-OF-VM%3E%3A2375%22%3C%2FIP-ADDRESS-OF-VM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUpon%20clearing%20DNS%20cache%20and%20running%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Bdocker%20pull%20hello-world%3C%2FFONT%3E%3C%2FP%3E%3CP%3Eit%20shows%20the%20error%2C%20%3CFONT%20color%3D%22%23FF0000%22%3Econnectex%3A%20No%20connection%20could%20be%20made%20because%20the%20target%20machine%20actively%20refused%20it%3C%2FFONT%3E.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAlso%2C%20we%20observed%20that%20no%20images%20are%20currently%20available%20(refer%20screen-shot%20image%202).%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EWe%20are%20looking%20to%20get%20this%20up%20and%20running%2C%20please%20help%20with%20any%20steps%20to%20resolve.%3CBR%20%2F%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2339956%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocker%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFirst%20use%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ewindows%202016%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New 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