I loaded image with the following command:
$ docker load -i image.tar
I had something like this in image list:
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE sandbox-hdp latest c3cef4760133 8 weeks ago 12.2GB
Then I decided to remove it:
$ docker rmi c3c
But when I loaded image again and run $ docker images
I got the same output. It is not newly created image.
I tried $ docker system prune
to clear a cache, but it didn't help. How can I load an image as a new one?
If you are loading the image from the same archive ( docker load -i image.tar
, or more recently docker image load -i
), you should get the same image (meaning with the same image ID)
Clearing the cache would not change that.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.