0 votes
in Docker by
How can you restore Docker Images?

1 Answer

0 votes
by

If we have stored or backed up a Docker image into a registry, we can use the Docker pull command to restore that image:

$ docker pull <image-name>

If we have saved the Docker image as a tarball file using the Docker save command, we can use the Docker load command to extract it back as an image in our local machine.

$ docker load -i <tarball-file-name>
...