label-schema / label-schema.org

Static content for Label Schema Spec
140 stars 16 forks source link

Clarification on label notation #38

Open lpalgarvio opened 6 years ago

lpalgarvio commented 6 years ago

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 commented 6 years ago

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

aries1980 commented 3 years ago

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