DEV Community

Cover image for Easy way to delete your image from docker hub
Teerasej Jiraphatchandej
Teerasej Jiraphatchandej

Posted on • Updated on

Easy way to delete your image from docker hub

Free and easy, you can push your local docker image to the docker hub.

But sometimes, we make mistakes by pushing an unnecessary image to the public or realizing that the image should not be there anymore.

Let's remove it from the docker hub!

1. Go to your repository on docker hub

Sign in, then browse to your repository.

This is where you will see the Manage repository button. Click it.

Your docker image repository web page

2. Go to Setting

You are in the dashboard, but we should look for the Setting tab and click it.

Your docker image's repository dashboard

3. Click that delete button

So far, so good. You will see the Delete Repository section at the bottom of this section. There is a nice delete button here. Click it and say goodbye to your image.

Setting section in docker image's repository

Top comments (1)

Collapse
 
dapone profile image
Afisunlu Dapo • Edited

Nice. But what if I don't want to delete repository, just the image. What does untag do?