
With boot2docker and docker-machine, for instance, this is done on docker-machine create, with the -engine-env option.

| docker docker run -rm -ti ubuntu practice I would have to first copy the data from the Internet client (which does not have Docker installed) to the target/destination machine (which does have Docker installed): bash download-frozen-image-v2.sh ubuntu tar -C 'ubuntu' -cf 'ubuntu.tar' scp ubuntu.tar then load and use the image on the target host: docker load -i docker run -rm -ti ubuntu check if your Docker daemon is configured for using the proxy. To verify that the script works as expected, I downloaded an Ubuntu image from Docker Hub and loaded it into Docker: bash download-frozen-image-v2.sh ubuntu tar -cC 'ubuntu'. The image can then be imported with tar and docker load: tar -cC 'target_dir'. The usage syntax for the script is given by the following: download-frozen-image-v2.sh target_dir. So it turns out that the Moby Project has a shell script on the Moby GitHub account which can download images from Docker Hub in a format that can be imported into Docker: With help from the Docker Community I was able to find a resolution to my problem. Downloading Docker Images from Docker Hub without using Docker.


I posted my question to the DevOps Stack Exchange site: I just had to deal with this issue myself - downloading an image from a restricted machine with Internet access, but no Docker client for use on a another restricted machine with the Docker client, but no Internet access.
