mirror of https://github.com/docker/docs.git
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:
parent
1e5f9334e0
commit
bf17383e35
|
@ -122,7 +122,6 @@ Create a container
|
|||
"AttachStdout":true,
|
||||
"AttachStderr":true,
|
||||
"PortSpecs":null,
|
||||
"Privileged": false,
|
||||
"Tty":false,
|
||||
"OpenStdin":false,
|
||||
"StdinOnce":false,
|
||||
|
@ -364,7 +363,8 @@ Start a container
|
|||
{
|
||||
"Binds":["/tmp:/tmp"],
|
||||
"LxcConf":{"lxc.utsname":"docker"},
|
||||
"PortBindings":null
|
||||
"PortBindings":null,
|
||||
"Privileged":false,
|
||||
"PublishAllPorts":false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue