ContainerApplicationGenericLabels icon indicating copy to clipboard operation
ContainerApplicationGenericLabels copied to clipboard

Support for Intents

Open sghosh151 opened this issue 9 years ago • 2 comments

Having a set of labels be available to support intents as described in https://github.com/docker/docker/issues/11187.

Do we have to worry about datatypes for labels? - string vs json blob?

sghosh151 avatar Apr 23 '15 20:04 sghosh151

@sghosh151 During the LABEL discussion at docker, they really wanted to avoid JSON data in the labels, and wanted to stick to strings. Feeling that JSON data in locations like Dockerfiles would quickly become difficult to use for non expert users.

rhatdan avatar Apr 24 '15 14:04 rhatdan

Strings only forces e.g. the RUN label down the path of shell script for command execution. It's convenient but as soon as you have arguments that need to be quoted you're into shell quoting hell. Docker learned that lesson and changed RUN to support an array syntax too.

cgwalters avatar Apr 24 '15 17:04 cgwalters