Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Labels on Images, Containers, Volumes, Network... #143

Open
SvenDowideit opened this issue Aug 13, 2020 · 6 comments
Open

Update Labels on Images, Containers, Volumes, Network... #143

SvenDowideit opened this issue Aug 13, 2020 · 6 comments
Labels
cli Improvements to the Docker CLI community_new New idea raised by a community contributor

Comments

@SvenDowideit
Copy link

moby/moby#21721

@SvenDowideit SvenDowideit added the community_new New idea raised by a community contributor label Aug 13, 2020
@nebuk89
Copy link
Contributor

nebuk89 commented Aug 13, 2020

hey @SvenDowideit could you add some notes on why you feel this matters/why now is the right time to do this please

@nebuk89 nebuk89 added the cli Improvements to the Docker CLI label Aug 13, 2020
@SvenDowideit
Copy link
Author

It's about 5 years late - and is an important part of of making labels useful?

https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/

@pe-terminator
Copy link

Any updates on this?

@carehart
Copy link
Contributor

carehart commented Sep 4, 2021

This would be useful, yet it's never been responded to here.

Let me offer another simple use case: you or something creates a volume, without a label, with a name that is perhaps a long-random string. Soon you have many. When you do a docker volume ls, you have no idea what each volume is for--and a docker volume inspect shows no useful identifying info about the volume's intended purpose.

So you'd like to give the volume a label, as a form of metadata....only you can't, because the only provision to label a volume is when it's created.

It certainly seems it would be straightforward to provide for labeling it after creation, whether with a docker volume label command, or perhaps some sort of docker update command.

As a mere users of Docker, it's not clear from the outside how difficult it would be to even try to propose a code change to enable this, if one were game to try. As this is one of the places where this idea is being discussed, it seemed worth debating it first.

The lack of interest here seems to suggest either that there's difficulty not obvious to we who are asking, or there a lack of appreciation of the problem. I have tried to help with the latter. :-) Perhaps others will chime in, for or against.

@mannharleen
Copy link

Any updates on the feat? There are tons of use cases listed here moby/moby#21721

@amaczuga
Copy link

Hear, hear. Please consider the feature for upcoming releases. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Improvements to the Docker CLI community_new New idea raised by a community contributor
Projects
None yet
Development

No branches or pull requests

6 participants