For Exporting a docker image from one server to another we can user private registry or we can also tar the image and copy the tar over to new server and import it into the new server using the tar file.
Export a Docker image to a file.
docker save image > image.tar
Import a Docker image
docker load -i (archivefile)
Loads in a Docker image in the following formats: .tar, .tar.gz, .tar.xz. lrz is not supported.
Export a Docker image to a file.
docker save image > image.tar
Import a Docker image
docker load -i (archivefile)
Loads in a Docker image in the following formats: .tar, .tar.gz, .tar.xz. lrz is not supported.
No comments:
Post a Comment