-
Notifications
You must be signed in to change notification settings - Fork 490
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
add opencontainers labels to the docker images #1053
Comments
Hi 👋 With the migration of the Dev Containers Spec to an Open Spec, I believe the Dev Container Images can also be standardized by the Open Containers Initiative (OCI). Hence, I think it makes sense to add some well-perceived labels to the images we publish from this repo Looping in @bamurtaugh @craiglpeters for any other thoughts. |
Thanks for opening this issue and for looping me in! I agree with what's been mentioned so far. |
Thanks both of you for your fast acknowledgement. I try to keep up to date with the development of features and the community, but haven't heard of "Open Spec" before, do you have any pointers/references to more information on that migration? |
Apologies for lack of clarity! We just mean that dev containers are an open source specification. You can explore all the repos part of the spec in the |
Request: Make the published docker images contain
org.opencontainers.image.source
label for easy reference back to this repository when the image gets updates. This is useful for tools like Renovate that makes updates to repositories when this image gets updates. OCI has standardized a few labels for adding metadata to images: https://github.com/opencontainers/image-spec/blob/main/annotations.mdYou have currently a few labels already, but it would have been nice if the mentioned
org.opencontainers.image.source
label were added, and preferable also the other standardized labels.Example of labels in javascript-node:
$ docker pull mcr.microsoft.com/devcontainers/javascript-node:latest $ docker inspect mcr.microsoft.com/devcontainers/javascript-node:latest --format '{{ json .Config.Labels }}'
Output:
The text was updated successfully, but these errors were encountered: