I have two docker images that I would like to remove, but it seems that they cannot be removed with docker image prune -a
. Why? The two images are not used in the terminal, since I just restarted the terminal.
(base) ~ % docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
test_docker latest 245e34778213 10 minutes ago 1.34GB
<none> <none> 02f2aa7b08bb 41 minutes ago 1.21GB
(base) ~ % docker image prune -a
WARNING! This will remove all images without at least one container associated to them.
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
How can I remove the images?
question from:https://stackoverflow.com/questions/65909509/not-being-able-to-remove-docker-images-with-docker-image-prune-a