Red hat linux

How To Save All Docker Images And Copy/Move To Another Host?

Follow the below steps to export all docker images and import them to another system.

Step #1
Export or save all images to one tar file.

docker save $(docker images --format '{{.Repository}}:{{.Tag}}') -o allimages.tar

Step #2

scp -i key.pem rocky@ . 

Step #3
Load all images to docker on new host.

docker load -i allimages.tar

Leave a Reply

Your email address will not be published. Required fields are marked *