How to remove an image tag in Docker without removing the image itself?

If your image is tagged with more than one tag, then docker rmi will remove the tag, but not the image.

So in your example …

# docker rmi my-imaj

… will remove that tag and leave the image present with the other correct tag.

Leave a Comment

tech