Remove an image tag from Docker Hub?
I was unable to find resources to understand how Docker Hub images can be managed.
I have an image tagged with V0.0.1 and built a new one tagged V0.0.2. Now I want to remove the V0.0.1 image as the new version is built differently and I don't want users to pull the old image.
Solution 1:
You can easily remove or delete a tag with an image from Docker hub.
- Log in to Docker Hub.
- Go to "Repositories" on the top navigation bar, then open a specific image.
- Click the "Manage Repository" button.
- Go to the "Tags" tab on the top of the page.
- Mark the tag which you are going to remove with a checkbox.
- You will see an "Action" drop-down box on the top left. Click it and select "Delete".
That's it.
Solution 2:
Its possible, click in details on repository after click in Settings. Look the image:
Solution 3:
I've finally found how to do it in 2020!
You can't remove a tag from the "Tags" page right now but there is still a way:
- Go to the image page on Dockerhub
- Click on "Manage repository"
- Click on "See all" under "Tags and Scans"
- Now you can check the tags and use the action "Delete"
Solution 4:
Currently you can't delete a image from hub via command line or web portal. There are open issues:
- https://github.com/docker/hub-feedback/issues/68
- https://github.com/docker/hub-feedback/issues/250
- https://github.com/docker/docker/issues/8759
- https://github.com/docker/docker-registry/issues/7
Maybe here is a workaround: Deleting images from a private docker registry
Solution 5:
As of October 2016, delete button/icon is available when you click on your Docker Hub repository and Tags tab, on the right hand side of each version.