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.

  1. Log in to Docker Hub.
  2. Go to "Repositories" on the top navigation bar, then open a specific image.
  3. Click the "Manage Repository" button.
  4. Go to the "Tags" tab on the top of the page.
  5. Mark the tag which you are going to remove with a checkbox.
  6. You will see an "Action" drop-down box on the top left. Click it and select "Delete".

tag deletion screenshot

That's it.

Solution 2:

Its possible, click in details on repository after click in Settings. Look the image:

print screen

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:

  1. Go to the image page on Dockerhub
  2. Click on "Manage repository"
  3. Click on "See all" under "Tags and Scans"
  4. 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.

Docker Hub screenshot