Browse code

Update the commit documentation with better example

Guillaume J. Charmes authored on 2013/09/13 05:26:31
Showing 1 changed files
... ...
@@ -19,15 +19,31 @@
19 19
 
20 20
 Full -run example::
21 21
 
22
-    {"Hostname": "",
23
-     "User": "",
24
-     "CpuShares": 0,
25
-     "Memory": 0,
26
-     "MemorySwap": 0,
27
-     "PortSpecs": ["22", "80", "443"],
28
-     "Tty": true,
29
-     "OpenStdin": true,
30
-     "StdinOnce": true,
31
-     "Env": ["FOO=BAR", "FOO2=BAR2"],
32
-     "Cmd": ["cat", "-e", "/etc/resolv.conf"],
33
-     "Dns": ["8.8.8.8", "8.8.4.4"]}
22
+{
23
+      "Entrypoint" : null,
24
+      "Privileged" : false,
25
+      "User" : "",
26
+      "VolumesFrom" : "",
27
+      "Cmd" : ["cat", "-e", "/etc/resolv.conf"],
28
+      "Dns" : ["8.8.8.8", "8.8.4.4"],
29
+      "MemorySwap" : 0,
30
+      "AttachStdin" : false,
31
+      "AttachStderr" : false,
32
+      "CpuShares" : 0,
33
+      "OpenStdin" : false,
34
+      "Volumes" : null,
35
+      "Hostname" : "122612f45831",
36
+      "PortSpecs" : ["22", "80", "443"],
37
+      "Image" : "b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc",
38
+      "Tty" : false,
39
+      "Env" : [
40
+         "HOME=/",
41
+         "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
42
+      ],
43
+      "StdinOnce" : false,
44
+      "Domainname" : "",
45
+      "WorkingDir" : "/",
46
+      "NetworkDisabled" : false,
47
+      "Memory" : 0,
48
+      "AttachStdout" : false
49
+}