Expected behavior
docker run hello-world should run properly
Actual behavior
getting below error when i run docker run hello-world
Unable to find image ‘hello-world:latest’ locally
C:\Program Files\Docker\docker.exe: Error response from daemon: Get https ://registry-1.docker.io/v2/: http: error connecting to proxy http ://username:password@proxy:port/: dial tcp: lookup tcp/port: getaddrinfow: The specified class was not found.
See ‘C:\Program Files\Docker\docker.exe run --help’.
Information
installed docker on windows server 2016 using below command
- Installation
Install-Module -Name DockerMsftProvider -Force
Install-Package -Name docker -ProviderName DockerMsftProvider -Force
Restart-Computer -Force
then updated to version 17.05.0-ce because of connectivity issue
PS C:\Users\Administrator> docker version
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Fri May 5 15:36:11 2017
OS/Arch: windows/amd64
Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.24)
Go version: go1.7.5
Git commit: 89658be
Built: Fri May 5 15:36:11 2017
OS/Arch: windows/amd64
Experimental: false
PS C:\Users\Administrator> docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 17.05.0-ce
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: l2bridge l2tunnel nat null overlay transparent
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 14393 (14393.1198.amd64fre.rs1_release_sec.170427-1353)
Operating System: Windows Server 2016 Standard
OSType: windows
Architecture: x86_64
CPUs: 1
Total Memory: 8GiB
Name: METRO2K16-03
ID: Z6NS:QNQD:MRBU:PCNX:7LWW:PONF:JM4H:PK37:NHB3:BUGG:ARPQ:M6I7
Docker Root Dir: C:\ProgramData\Docker
Debug Mode (client): false
Debug Mode (server): false
Http Proxy: http://username:password@proxy:port/
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Seem like i cant connect to docker hub from my windows server 2016 VM with docker installed.
what need to be done to get it working?