mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
added documentation for groupadd within hostConfig that was added in remote api 1.20
Signed-off-by: Oliver Neal <ItsVeryWindy@users.noreply.github.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
3442339b98
commit
ade71ace7d
3 changed files with 6 additions and 0 deletions
|
@ -192,6 +192,7 @@ Create a container
|
||||||
"VolumesFrom": ["parent", "other:ro"],
|
"VolumesFrom": ["parent", "other:ro"],
|
||||||
"CapAdd": ["NET_ADMIN"],
|
"CapAdd": ["NET_ADMIN"],
|
||||||
"CapDrop": ["MKNOD"],
|
"CapDrop": ["MKNOD"],
|
||||||
|
"GroupAdd": ["newgroup"],
|
||||||
"RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
|
"RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
|
||||||
"NetworkMode": "bridge",
|
"NetworkMode": "bridge",
|
||||||
"Devices": [],
|
"Devices": [],
|
||||||
|
@ -278,6 +279,7 @@ Json Parameters:
|
||||||
Specified in the form `<container name>[:<ro|rw>]`
|
Specified in the form `<container name>[:<ro|rw>]`
|
||||||
- **CapAdd** - A list of kernel capabilities to add to the container.
|
- **CapAdd** - A list of kernel capabilities to add to the container.
|
||||||
- **Capdrop** - A list of kernel capabilities to drop from 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
|
- **RestartPolicy** – The behavior to apply when the container exits. The
|
||||||
value is an object with a `Name` property of either `"always"` to
|
value is an object with a `Name` property of either `"always"` to
|
||||||
always restart or `"on-failure"` to restart only when the container
|
always restart or `"on-failure"` to restart only when the container
|
||||||
|
|
|
@ -200,6 +200,7 @@ Create a container
|
||||||
"VolumesFrom": ["parent", "other:ro"],
|
"VolumesFrom": ["parent", "other:ro"],
|
||||||
"CapAdd": ["NET_ADMIN"],
|
"CapAdd": ["NET_ADMIN"],
|
||||||
"CapDrop": ["MKNOD"],
|
"CapDrop": ["MKNOD"],
|
||||||
|
"GroupAdd": ["newgroup"],
|
||||||
"RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
|
"RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
|
||||||
"NetworkMode": "bridge",
|
"NetworkMode": "bridge",
|
||||||
"Devices": [],
|
"Devices": [],
|
||||||
|
@ -293,6 +294,7 @@ Json Parameters:
|
||||||
Specified in the form `<container name>[:<ro|rw>]`
|
Specified in the form `<container name>[:<ro|rw>]`
|
||||||
- **CapAdd** - A list of kernel capabilities to add to the container.
|
- **CapAdd** - A list of kernel capabilities to add to the container.
|
||||||
- **Capdrop** - A list of kernel capabilities to drop from 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
|
- **RestartPolicy** – The behavior to apply when the container exits. The
|
||||||
value is an object with a `Name` property of either `"always"` to
|
value is an object with a `Name` property of either `"always"` to
|
||||||
always restart, `"unless-stopped"` to restart always except when
|
always restart, `"unless-stopped"` to restart always except when
|
||||||
|
|
|
@ -265,6 +265,7 @@ Create a container
|
||||||
"VolumesFrom": ["parent", "other:ro"],
|
"VolumesFrom": ["parent", "other:ro"],
|
||||||
"CapAdd": ["NET_ADMIN"],
|
"CapAdd": ["NET_ADMIN"],
|
||||||
"CapDrop": ["MKNOD"],
|
"CapDrop": ["MKNOD"],
|
||||||
|
"GroupAdd": ["newgroup"],
|
||||||
"RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
|
"RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
|
||||||
"NetworkMode": "bridge",
|
"NetworkMode": "bridge",
|
||||||
"Devices": [],
|
"Devices": [],
|
||||||
|
@ -367,6 +368,7 @@ Json Parameters:
|
||||||
Specified in the form `<container name>[:<ro|rw>]`
|
Specified in the form `<container name>[:<ro|rw>]`
|
||||||
- **CapAdd** - A list of kernel capabilities to add to the container.
|
- **CapAdd** - A list of kernel capabilities to add to the container.
|
||||||
- **Capdrop** - A list of kernel capabilities to drop from 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
|
- **RestartPolicy** – The behavior to apply when the container exits. The
|
||||||
value is an object with a `Name` property of either `"always"` to
|
value is an object with a `Name` property of either `"always"` to
|
||||||
always restart, `"unless-stopped"` to restart always except when
|
always restart, `"unless-stopped"` to restart always except when
|
||||||
|
|
Loading…
Add table
Reference in a new issue