On Wed, Mar 09, 2016 at 08:35:48AM -0500, Daniel J Walsh wrote:
Or am I missing something about getting at the original LABEL value?
How about
from fedora
LABEL INSTALL [ 'docker', 'run', '--rm', '${NAME}', '/bin/test.sh', 'install', '"test install with space, as well as comma"' ]
That produces
INSTALL": "[ docker, run, --rm, ${NAME}, /bin/test.sh, install, \"test install with space, as well as comma\" ]",
Can't say I like it -- we'd be piling escapes upon escapes.
I've filed
https://github.com/docker/docker/issues/21060
to see what the Docker community thinks.