Merge pull request #19160 from thaJeztah/carry-19020-groupadd-docs

(carry 19020) add documentation for groupadd for remote api
This commit is contained in:
Sebastiaan van Stijn 2016-01-07 12:41:08 +01:00
commit 6aefa898cb
3 changed files with 6 additions and 0 deletions

View File

@ -192,6 +192,7 @@ Create a container
"VolumesFrom": ["parent", "other:ro"],
"CapAdd": ["NET_ADMIN"],
"CapDrop": ["MKNOD"],
"GroupAdd": ["newgroup"],
"RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
"NetworkMode": "bridge",
"Devices": [],
@ -278,6 +279,7 @@ Json Parameters:
Specified in the form `<container name>[:<ro|rw>]`
- **CapAdd** - A list of kernel capabilities to add to the container.
- **Capdrop** - A list of kernel capabilities to drop from the container.
- **GroupAdd** - A list of additional groups that the container process will run as
- **RestartPolicy** The behavior to apply when the container exits. The
value is an object with a `Name` property of either `"always"` to
always restart or `"on-failure"` to restart only when the container

View File

@ -200,6 +200,7 @@ Create a container
"VolumesFrom": ["parent", "other:ro"],
"CapAdd": ["NET_ADMIN"],
"CapDrop": ["MKNOD"],
"GroupAdd": ["newgroup"],
"RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
"NetworkMode": "bridge",
"Devices": [],
@ -293,6 +294,7 @@ Json Parameters:
Specified in the form `<container name>[:<ro|rw>]`
- **CapAdd** - A list of kernel capabilities to add to the container.
- **Capdrop** - A list of kernel capabilities to drop from the container.
- **GroupAdd** - A list of additional groups that the container process will run as
- **RestartPolicy** The behavior to apply when the container exits. The
value is an object with a `Name` property of either `"always"` to
always restart, `"unless-stopped"` to restart always except when

View File

@ -265,6 +265,7 @@ Create a container
"VolumesFrom": ["parent", "other:ro"],
"CapAdd": ["NET_ADMIN"],
"CapDrop": ["MKNOD"],
"GroupAdd": ["newgroup"],
"RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
"NetworkMode": "bridge",
"Devices": [],
@ -367,6 +368,7 @@ Json Parameters:
Specified in the form `<container name>[:<ro|rw>]`
- **CapAdd** - A list of kernel capabilities to add to the container.
- **Capdrop** - A list of kernel capabilities to drop from the container.
- **GroupAdd** - A list of additional groups that the container process will run as
- **RestartPolicy** The behavior to apply when the container exits. The
value is an object with a `Name` property of either `"always"` to
always restart, `"unless-stopped"` to restart always except when