mirror of https://github.com/docker/docs.git
Merge pull request #1897 from dotcloud/update_doc
Update the commit documentation with better example
This commit is contained in:
commit
b826351337
|
|
@ -19,15 +19,31 @@
|
||||||
|
|
||||||
Full -run example::
|
Full -run example::
|
||||||
|
|
||||||
{"Hostname": "",
|
{
|
||||||
"User": "",
|
"Entrypoint" : null,
|
||||||
"CpuShares": 0,
|
"Privileged" : false,
|
||||||
"Memory": 0,
|
"User" : "",
|
||||||
"MemorySwap": 0,
|
"VolumesFrom" : "",
|
||||||
"PortSpecs": ["22", "80", "443"],
|
"Cmd" : ["cat", "-e", "/etc/resolv.conf"],
|
||||||
"Tty": true,
|
"Dns" : ["8.8.8.8", "8.8.4.4"],
|
||||||
"OpenStdin": true,
|
"MemorySwap" : 0,
|
||||||
"StdinOnce": true,
|
"AttachStdin" : false,
|
||||||
"Env": ["FOO=BAR", "FOO2=BAR2"],
|
"AttachStderr" : false,
|
||||||
"Cmd": ["cat", "-e", "/etc/resolv.conf"],
|
"CpuShares" : 0,
|
||||||
"Dns": ["8.8.8.8", "8.8.4.4"]}
|
"OpenStdin" : false,
|
||||||
|
"Volumes" : null,
|
||||||
|
"Hostname" : "122612f45831",
|
||||||
|
"PortSpecs" : ["22", "80", "443"],
|
||||||
|
"Image" : "b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc",
|
||||||
|
"Tty" : false,
|
||||||
|
"Env" : [
|
||||||
|
"HOME=/",
|
||||||
|
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
|
],
|
||||||
|
"StdinOnce" : false,
|
||||||
|
"Domainname" : "",
|
||||||
|
"WorkingDir" : "/",
|
||||||
|
"NetworkDisabled" : false,
|
||||||
|
"Memory" : 0,
|
||||||
|
"AttachStdout" : false
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue