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.
This commit is contained in:
James Turnbull 2013-12-23 09:08:28 -05:00
parent 1e5f9334e0
commit bf17383e35
1 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,6 @@ Create a container
"AttachStdout":true, "AttachStdout":true,
"AttachStderr":true, "AttachStderr":true,
"PortSpecs":null, "PortSpecs":null,
"Privileged": false,
"Tty":false, "Tty":false,
"OpenStdin":false, "OpenStdin":false,
"StdinOnce":false, "StdinOnce":false,
@ -364,7 +363,8 @@ Start a container
{ {
"Binds":["/tmp:/tmp"], "Binds":["/tmp:/tmp"],
"LxcConf":{"lxc.utsname":"docker"}, "LxcConf":{"lxc.utsname":"docker"},
"PortBindings":null "PortBindings":null,
"Privileged":false,
"PublishAllPorts":false "PublishAllPorts":false
} }