Browse code

API documentation update for Privileged

The 1.7 API docs show the ability to pass Privileged
when creating a container. This is not supported as.
Privileged is now part of hostConfig and can only be
passed when starting a container.

This fixes the documentation issue.

James Turnbull authored on 2013/12/23 23:08:28
Showing 1 changed files
... ...
@@ -122,7 +122,6 @@ Create a container
122 122
 		"AttachStdout":true,
123 123
 		"AttachStderr":true,
124 124
 		"PortSpecs":null,
125
-		"Privileged": false,
126 125
 		"Tty":false,
127 126
 		"OpenStdin":false,
128 127
 		"StdinOnce":false,
... ...
@@ -364,7 +363,8 @@ Start a container
364 364
            {
365 365
                 "Binds":["/tmp:/tmp"],
366 366
                 "LxcConf":{"lxc.utsname":"docker"},
367
-                "PortBindings":null
367
+                "PortBindings":null,
368
+                "Privileged":false,
368 369
                 "PublishAllPorts":false
369 370
            }
370 371