Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker load and save

You will need to save the Docker image as a tar file:

docker save -o <path for generated tar file> <image name>
T
hen copy your image to a new system with regular file transfer tools such as cp, scp or rsync(preferred for big files). After that you will have to load the image into Docker:

docker load -i <path to image tar file>
 
PREVIOUS NEXT
Tagged: #docker #load #save
ADD COMMENT
Topic
Name
9+7 =