images saved in the docker and export

Since the migration test environment, so the deployment of the docker mirror some of the need to migrate to another server to go above. .

 

 I am using

docker save -o registry.tar registry corresponding to the images to be exported into a packaged tar file, then copy scp remotely through to the new server go above. .

Next docker load corresponding to docker save ;;; docker export docker import both corresponding to not mix, there will be an error. .

 

 

 When I use to import images docker import of the emergence of the need to manually fill command start command.

 

If you are a docker save exported correspondence please use docker load import. So there is no problem, you can directly run the new images

Guess you like

Origin www.cnblogs.com/zterry/p/11121264.html