[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] Using docker run -ti for interactive INSTALL?





On 03/14/2016 03:41 AM, Jan Pazdziora wrote:
On Wed, Mar 09, 2016 at 04:21:01PM +0100, Jan Pazdziora wrote:
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.
It was rejected.

What other options do we have going forward?

Could we just keep using shell to run stuff from
INSTALL/RUN/UNINSTALL?

I think you just need to do the proper quoting to get it to work, as I showed in the previous emails. Not a great solution
but it works.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]