This is usually a problem with the proxy server: if you use a proxy to access the Internet, make sure that:
- either set the HTTP (S) _PROXY environment variable correctly
- or use the docker machine design with the -engine-env right option
For example, on my Windows using VirtualBox:
docker-machine create -d virtualbox \ --engine-env HTTP_PROXY=$http_proxy --engine-env HTTPS_PROXY=$https_proxy \ --engine-env http_proxy=$http_proxy --engine-env https_proxy=$https_proxy \ --engine-env NO_PROXY=$no_proxy --engine-env no_proxy=$no_proxy aMachine
This will create a permissions configuration file / var / lib / boot 2docker / profile with the variables declared in it, allowing the docker daemon to access the Internet.
The quick start key opens the default ssh session for the default virtual machine.
This is the same as docker-machine ssh default .
If this default VM skips the right docker-machine rm profile, you can docker-machine rm and recreate it, this time using --engine-env .
Vonc
source share