Monday, 12 September 2022

How to export and import docker?

First save the Docker image to a compressed archive:

docker save <docker image name> | gzip > <docker image name>.tar.gz 
 
 

Then load the Docker image as following:

docker load < <docker image name>.tar.gz 

No comments:

Post a Comment