Skip to content
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

Support for Intents #1

Open
sghosh151 opened this issue Apr 23, 2015 · 2 comments
Open

Support for Intents #1

sghosh151 opened this issue Apr 23, 2015 · 2 comments

Comments

@sghosh151
Copy link

Having a set of labels be available to support intents as described in moby/moby#11187.

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

@rhatdan
Copy link
Member

rhatdan commented Apr 24, 2015

@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.

@cgwalters
Copy link
Member

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.

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

No branches or pull requests

3 participants