Docker copy an image to another server

From MyWiki
Revision as of 13:50, 25 August 2023 by George2 (Talk | contribs)

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>