Answers for "docker save"

3

docker save

docker save -o fedora-all.tar fedora
Posted by: Guest on May-08-2020
1

docker save to file

docker save fedora | gzip > fedora.tar.gz
Posted by: Guest on July-21-2021
5

docker commit

docker commit CONTAINER_ID  CONTAINER_NAME:TAG
Posted by: Guest on March-05-2020
1

commit container to image

sudo docker commit [CONTAINER_ID] [new_image_name]
Posted by: Guest on July-02-2020
0

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>
Posted by: Guest on July-28-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language