Untag docker image without deleting the it?
Untag docker image without deleting the it?
I have to untag docker image without removing the image or without deleting the image from host.
Let's say I have an image
fedora 28 c3f540d72dfd 2 weeks ago 254MB
How I can remove this tag and keep the image as it is on host, I know it would be dangling image but it's fine for me.
I tried following command but it is deleting the image as well that I don't want,
docker rmi fedora:28
@DavidMaze David, I want this in special case where I tag images and untag after some time but during untagging I don't want to remove/delete the image. Just wanted to untag it. Any idea?
– BSalunke
Sep 6 '18 at 18:07
Judging by this github issue, I'm guessing this is not possible (in any straight forward way) github.com/docker/hub-feedback/issues/68
– Schneider
Sep 9 '18 at 8:53
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Why is it important to keep the tag? Having untagged it, why is it important to keep the image?
– David Maze
Sep 6 '18 at 11:36