Delete image from Docker Hub?

I was unable to find resources to figure out how to manage Docker Hub images.

I have an image tagged with V0.0.1 and built a new one with tag V0.0.2. Now I want to delete the image V0.0.1, since the new version is built differently, and I do not want users to extract the old image.

+14
docker dockerhub
source share
9 answers

Perhaps click more in the repository after clicking the "Settings" button. See image:

print screen

+8
source share

As of October 2016, the Delete / Delete button is available when you click on the Docker Storage tab and the Tags tab on the right side of each version.

Docker Hub Screenshot

+4
source share

In the previous version of the hub, you could do this through the Tags tab, which showed a little "x" that you could click to remove the tag. In the new version of the hub, it seems to be gone. I can only assume that the functionality will return at a certain stage.

The corresponding issue seems to be https://github.com/docker/hub-feedback/issues/68 .

Currently, the only workarounds that I see are:

  • Delete the repository and recreate it by clicking on the tags you want to save
  • Contact Docker Support and manually remove the unnecessary tags.
+3
source share

Since the Docker Hub recently updated its user interface, you can now find the delete option in the settings tab of your repository.

So the following workflow:

  1. Go to storage
  2. Select your repository to delete
  3. Select the Settings tab
  4. Click the Delete Repository button.
  5. In the pop-up window, enter the vault name to confirm and confirm the deletion.

enter image description here

However, if you want to delete the image, go to the Tags tab. Click on the symbol "..." , it will give you the opportunity to delete the image, as shown in the following figure

enter image description here

+3
source share

Currently, you cannot delete an image from a hub through the command line or web portal. There are open issues:

Perhaps this is a workaround: Removing images from the private docker registry>

+2
source share
  • Open hub.docker.com and sign in.
  • Click on Details for your image.
  • Click on the tags.
  • Click the delete icon (trash) on the right.

Unfortunately, even if you remove only the tag for this image, the image will still be listed in your account / repository. However, anyone trying docker pull in this image will receive an error message. I assume the only way to completely delete the image is to delete the account (and all of its images).

+2
source share

Thanks so much for getting worse, uninstall this solution.

0
source share

People said that the function to remove certain tags from the Docker Hub interface was removed, but this is inaccurate, just a little hidden.

  1. go to your repository in the docker hub
  2. go to tags
  3. at the bottom, click the "view all" link
  4. click the "..." menu to the right of the tag you want to remove
  5. click delete

This will allow you to remove a specific tag in the new version of the Docker Hub.

0
source share

when entering the Docker Hub there is a big red button “DELETE” on the “Settings” tab.

-2
source share

All Articles