You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
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.
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?
The text was updated successfully, but these errors were encountered: