Open mattray opened 8 years ago
Nice, thanks for tracking--I've been meaning to catch up on this initiative.
This could be a super great feature! Thanks for opening this issue @mattray
Now that we have an updated codebase of exporting Docker images (via #3213), I'd like to add as much labelling and metadata as we possibly can. Due to time though, this can come in the near future--I want to make sure our Docker exporting is solid before adding more.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.
Yup, this would be good to add.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.
Docker Inc. express a preference that container labels should be namespaced. Label Schema is a community project to provide a shared namespace for use by multiple tools, specifically org.label-schema.
http://label-schema.org/rc1/
Example here: https://medium.com/microscaling-systems/new-for-the-image-conscious-container-label-schema-org-78654a270f07
Metadata
LABEL org.label-schema.vendor="Microscaling Systems" \ org.label-schema.url="https://microscaling.com" \ org.label-schema.name="Microscaling Engine" \ org.label-schema.description="Optimal resource util" \ org.label-schema.version="1.2.3" \ org.label-schema.vcs-url=$VCS_URL \ org.label-schema.vcs-ref=$VCS_REF \ org.label-schema.build-date=$BUILD_DATE \ org.label-schema.docker.schema-version="1.0"
Much of this could be pre-populated from Habitat and then exposed with CLI options.