Docker copy an image to another server

From MyWiki
Jump to: navigation, search

Save the image as a tar file:

docker save -o <path for generated tar file> <image name>

Copy the tar file to target server
Then load it on the target server

docker load -i <path to image tar file>