Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Clarification on label notation #38

Open
lpalgarvio opened this issue Jan 8, 2018 · 2 comments
Open

Clarification on label notation #38

lpalgarvio opened this issue Jan 8, 2018 · 2 comments

Comments

@lpalgarvio
Copy link

lpalgarvio commented Jan 8, 2018

Hello,

Accordingly to docker, the label notation has this guideline:

Authors of third-party tools should prefix each label key with the reverse DNS notation of a domain they own, such as com.example.some-label.

How do you view this for cases that would have additional levels of keys, ie, org.label-schema.mykey.mysubkey?

Example:
org.label-schema.authors.author.name

The subdomain authors doesn't necessarily exist...

What would be your official statement / decision so i can adjust accordingly the PRs that I've been proposing? Would they be allowed or disallowed?

https://docs.docker.com/engine/userguide/labels-custom-metadata/

@lizrice
Copy link
Contributor

lizrice commented Jan 24, 2018

Hi @lpalgarvio, the label schema work is now part of the OCI: https://github.com/opencontainers/image-spec

@aries1980
Copy link

For those who are looking for the labelling in image-spec, look for the Annotations section: https://github.com/opencontainers/image-spec/blob/master/annotations.md

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants