Docker Community Forums

Share and learn in the Docker community.

Proxy Issue in Docker-Toolkit


(Neelanjanbanerjee) #1

Facing the issue while pulling any image. Below is the log details :-

MINGW64 ~
$ docker run hello-world
Unable to find image ‘hello-world:latest’ locally
latest: Pulling from library/hello-world

c04b14da8d14: Pulling fs layer
C:\Program Files\Docker Toolbox\docker.exe: error pulling image configuration: G
et https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha
256/c5/c54a2cc56cbb2f04003c1cd4507e118af7c0d340fe7e2720f70976c4b75237dc/data?Exp
ires=1471516161&Signature=f30fQr9edILREQLwmz9a~NWfnz4yOrKzb758SN933nOEGELB2AbrOP
vHlTJfMHQuO-7dVHvbU8Ozc1EnGqokMDRMSKWr6L3SfRFBOB4zGp1YCYrLKwnV6ybH7sZx~3KcozRWmM
WqPmO90PunywTHrJ5KfyR1Jj1LkvHSqKObuSU_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: x509: c
ertificate signed by unknown authority.
See ‘C:\Program Files\Docker Toolbox\docker.exe run --help’.

$ docker search hello-world
NAME DESCRIPTION
STARS OFFICIAL AUTOMATED
hello-world Hello World! (an example of minimal Do
cker… 145 [OK]
tutum/hello-world Image to test docker deployments. Has
Apac… 27 [OK]
marcells/aspnet-hello-world ASP.NET vNext - Hello World
4 [OK]
dockercloud/hello-world Hello World!
3 [OK]
bonomat/nodejs-hello-world a simple nodejs hello world container

Issue Details :-
Running the command in Docker Toolkit running in Windows.

Had tried to set the proxy configurations as mentioned in the below link but it did not work.

1> Below is the logs :-

$ printenv | grep PROXY
NO_PROXY=192.168.99.100
HTTPS_PROXY=https://proxy-server:port
HTTP_PROXY=http://proxy-server:port

2> Setting the proxy in the docker-machine :

root@default:/home/docker# cat /var/lib/boot2docker/profile

EXTRA_ARGS=’
–label provider=virtualbox


CACERT=/var/lib/boot2docker/ca.pem
DOCKER_HOST=’-H tcp://0.0.0.0:2376’
DOCKER_STORAGE=aufs
DOCKER_TLS=auto
SERVERKEY=/var/lib/boot2docker/server-key.pem
SERVERCERT=/var/lib/boot2docker/server.pem

export "HTTP_PROXY=http://userid:password@proxy-server:port"
export "HTTPS_PROXY=http://userid:password@proxy-server:port"
export “NO_PROXY=http://userid:password@proxy-server:port”

In case of Docker search its showing the results.