-
Notifications
You must be signed in to change notification settings - Fork 29
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
Vendor description #32
Conversation
Change the labels to lowercase-underscore format (e.g. 'build-date') to enable cleaner formating by tools displaying this information. Follow-up on #8
Propsing two new fields to support Red Hat, ISV, and customer use cases: * authoritative_source - The authoritative registry for an image. - In combination with the 'name' label, this tells a user where to go and look for official updates and current versions of the image, regardless of the local tags. * distribution_scope - The intended scope of distribution for the image. - Allows a user to define the intended scope of distribution. This addresses the end-user case of internal builds vs. public content and the use case of a vendor like Red Hat that provides content streams under subscription agreements - which is different from the license(s) of the image content. - In combination with the 'authoritative_source' and 'name' labels allows automatic redirect to the authoritative source.
The name should be relative to the authoritative_source so that combination of the authoritative_source, name, version and release labels should resolve to the actual image (depending on the implementation details of the protocls used). For Docker images created by Red Hat as well as for certified images, we standardized 'name' to be the relative path for the image (e.g. 'rhel7/rhel-tools'). An actual Red Hat image can be retrieved by: # docker pull authoritative_source+'/'+name+':'+version+'-'+release
Still refered to 'registry' rather than a neutral term.
| vcs_type | The type of version control used by the container source. Generally one of git, hg, svn, bzr, cvs| | ||
| vcs_url | URL of the version control repository| | ||
| vcs_ref | A 'reference' within the version control repository; e.g. a git commit, or a subversion branch| | ||
| authoritative_source | The authoritative location at which the image is published (image location is 'authoritative_source/name')| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
image location is
authoritative_source/name
why are you prescribing this? It's back to tying against specific implementations like a Docker registry. What if an authoritative source is a yum repository? Better to just say (if anything) that the image name is namespaced against this source.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am open to generalize the language, but this is not Docker-specific at all. Please submit a PR on top of this.
Breaking this apart to multiple pulls would make it a lot easier to deal with. Please reopen as multiple pulls. git branch -b NEWNAME Should help you separate them out. |
To address #14