1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #1973 from metalivedev/1969-formatfix

Fix #1969 formatting, add information about multiline json
This commit is contained in:
Andy Rothfusz 2013-09-23 13:17:55 -07:00
commit 30b759ffa9

View file

@ -14,12 +14,15 @@
-m="": Commit message
-author="": Author (eg. "John Hannibal Smith <hannibal@a-team.com>"
-run="": Config automatically applied when the image is
run. "+`(ex: {"Cmd": ["cat", "/world"], "PortSpecs": ["22"]}')
-run="": Configuration to be applied when the image is launched with `docker run`.
(ex: '{"Cmd": ["cat", "/world"], "PortSpecs": ["22"]}')
Full -run example::
Full -run example (multiline is ok within a single quote ``'``)
{
::
$ sudo docker commit -run='
{
"Entrypoint" : null,
"Privileged" : false,
"User" : "",
@ -46,4 +49,4 @@ Full -run example::
"NetworkDisabled" : false,
"Memory" : 0,
"AttachStdout" : false
}
}' $CONTAINER_ID