How to transfer a Docker Image

Today I was in the need to work around a proxy. I was tasked to start a Gatling test on a system without access to the Docker registry. Lucky me there is docker save and load. On a host with access to the Docker registry I issued:

$ docker pull denvazh/gatling
Using default tag: latest
latest: Pulling from denvazh/gatling
$ docker save denvazh/gatling > /tmp/denvazh_gatling

Next I transfered the image to the host behind a proxy and issued the load command:

$ docker load < /tmp/denvazh_gatling

and was ready for load testing with Gatling...

Show Comments