Reputation: 3158
Say I want to get a Docker image (such as https://github.com/zettio/weave/blob/master/weaver/Dockerfile) downloaded and built from the Internet, but then take it to a computer not connected to the Internet, so that computer can run a container using it?
What files/directories would I need to archive to do that?
Upvotes: 1
Views: 436
Reputation: 2438
Save
it, copy the tar file to a USB, go to other computer and load
it.
docker save -o image.tar image
then on other computer:
docker load -i image.tar
Upvotes: 6