HomeDockerAdvanced Image Management in Docker Hub

Advanced Image Management in Docker Hub

We are excited to announce the latest feature for Docker Pro and Team users, our new Advanced Image Management Dashboard available on Docker Hub. The new dashboard provides developers with a new level of entry to all of the content you have stored in Docker Hub providing you with more fine grained control over removing old content and exploring old versions of pushed images. 

Advanced Image Management in Docker Hub

Historically in Docker Hub we have had visibility into the latest version of a tag that a user has pushed, but what has been very hard to see or even understand is what occurred to all of those old things that you pushed. When you push an image to Docker Hub you are pushing a manifest, a list of all of the layers of your image, and the layers themselves.

1616846895 997 Advanced Image Management in Docker Hub

When you are updating an existing tag, only the new layers will be pushed alongside with the new manifest which references these layers. This new manifest will be given the tag you specify when you push, such as bengotch/simplewhale:latest. But this does not mean that all of those old manifests which point at the previous layers that made up your image are removed from Hub. These are nonetheless here, there is just no way to easily see them or to handle that content. You can in fact nonetheless use and reference these using the digest of the manifest if you know it. You can kind of think of this like your commit history (the old digests) to a particular department (your tag) of your repo (your image repo!). 

1616846895 218 Advanced Image Management in Docker Hub

This means you can have hundreds of old versions of images which your systems can nonetheless be pulling by hash rather than by the tag and you may be unaware which old versions are nonetheless in use. Along with this the only way until now to remove these old versions was to delete the full repo and start again!

With the release of the image management dashboard we have provided a new GUI with all of this information available to you including whether those currently ‘untagged old manifests’ are nonetheless ‘lively’ (have been pulled in the last month) or whether they are inactive. This combined with the new bulk delete for these objects and current tags provides you a more powerful tool for batch managing your content in Docker Hub. 

To get initiated you will find a new banner on your repos page if you have inactive images:

1616846895 735 Advanced Image Management in Docker Hub

This will inform you how many images you have, tagged or old, which have not been pushed or pulled to in the last month. By clicking view you can go through to the new Advanced Image Management Dashboard to check out all your content, from here you can see what the tags of sure manifests used to be and use the multi-selector option to bulk delete these. 

For a full product tour check out our overview video of the feature below.

We hope that you are excited for the first step of us providing greater perception into your content on Docker Hub, if you want to get initiated exploring your content then all users can see how many inactive images they have and Pro & Team users can see which tags these used to be associated with, what the hashes of these are and start removing these today. To find out more about becoming a Pro or Team user check out this page.


.

Most Popular