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. Upstream-commit: bf17383e35afa12f5d6cb145b26542f2dc4f95de Component: engine
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user