Save the image on the source host:
docker save -o myimage.tar <image id or name>
Now copy the saved image to the destination machine:
scp myimage.tar bob@jupiter.stack1.com:/docker-archives/myimage.tar
Then load the image:
docker load -i /docker-archives/myimage.tar
or:
docker load < /docker-archives/myimage.tar
No comments:
Post a Comment