Docker run hello-world - error unable to find image (proxy settings?)

Issue type: error in command execution "docker run hello-world"
Unable to find image ‘hello-world:latest’ locally Pulling repository docker.io/library/hello-world
C:\Program Files\Docker Toolbox\docker.exe: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy…
See ‘C:\Program Files\Docker Toolbox\docker.exe run --help’.
OS Version/build: Windows 8.1 Enterprise
App version: Docker Toolbox version 1.12.0
Steps to reproduce: https://docs.docker.com/toolbox/toolbox_install_windows/

I need to configure proxy settings? How to?

You can set the proxy settings in a few ways when using docker-machine/Docker Toolbox:
1.) At machine create time: https://github.com/docker/toolbox/issues/102#issuecomment-131715272
2.) Modifying the environment of an existing VM: https://github.com/docker/toolbox/issues/102#issuecomment-132394348

1 Like

Yesss, working fine, tks mr. mbentley! But it was necessary include the following lines in the file "C:\Program Files\Docker Toolbox\start.sh"
HTTP_PROXY=http://$proxy_user:$proxy_pass@$ip_server_proxy:$port
HTTPS_PROXY=http://$proxy_user:$proxy_pass@$ip_server_proxy:$port