Harbor: Add 'Image ID' column to repository page

Created on 8 Jun 2017  路  6Comments  路  Source: goharbor/harbor

It is very conveniently to see which tags alias which images.
Harbor v1.1.1

UX

All 6 comments

why are we adding the image id to the repository page? whats the use case for doing that? when there are more than one image in a repo, what does that look like?
@steven-zou @tonycgil @akshayl

We use docker tags for versioning our images (we use format yymmdd-).
Also, we use special tags prod and stage, which points to (alias) same images with "version tags". Sometimes stage and prod aliases same image, sometimes them alias different images.
I believe this scheme is not rare and quite common.

The problem with Harbor UI, which btw is a great project 馃憤, that we do not see what versions prod/stage tags alias because we do not see images ids. Compare screenshots of Harbor and output of docker images:
harbor_screen
docker_images_screen

As you can see, if I look at the output of docker images command - I can easily figure out that prod and stage tags both points to image with version tag 170607-6c037bb.
But this impossible to figure out with current Harbor UI.

@xkrt you're saying that because an image can have multiple tags, which will be displayed on different rows, you can't tell that 2 rows in the datagrid refer to the same image. would a better solution be to group the tags of a given image together in the datagrid? is there any reason to actually copy and use the image ID on the command line? @akshayl @steven-zou @tonycgil thanks.

@lweitzman yes, looks like your proposal solves my problem. And I do not see any uses cases of copying image id actually.
Btw maybe you should consider some "columns to show settings" functionality. For example, I do not really need "Architecture" and "OS" columns at all, they just waste of space for me.

The Image ID is a concept of docker client side. You can use digest instead and you can get it from UI.

Hello there, but I can't find where is showed image digest ... I need to check image version stored in our Harbor and the one used to deploy on Kubernetes.

Was this page helpful?
0 / 5 - 0 ratings