Browse code

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>

Oliver Neal authored on 2016/01/01 00:09:22
Showing 3 changed files
... ...
@@ -192,6 +192,7 @@ Create a container
192 192
              "VolumesFrom": ["parent", "other:ro"],
193 193
              "CapAdd": ["NET_ADMIN"],
194 194
              "CapDrop": ["MKNOD"],
195
+             "GroupAdd": ["newgroup"],
195 196
              "RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
196 197
              "NetworkMode": "bridge",
197 198
              "Devices": [],
... ...
@@ -278,6 +279,7 @@ Json Parameters:
278 278
           Specified in the form `<container name>[:<ro|rw>]`
279 279
     -   **CapAdd** - A list of kernel capabilities to add to the container.
280 280
     -   **Capdrop** - A list of kernel capabilities to drop from the container.
281
+    -   **GroupAdd** - A list of additional groups that the container process will run as
281 282
     -   **RestartPolicy** – The behavior to apply when the container exits.  The
282 283
             value is an object with a `Name` property of either `"always"` to
283 284
             always restart or `"on-failure"` to restart only when the container
... ...
@@ -200,6 +200,7 @@ Create a container
200 200
              "VolumesFrom": ["parent", "other:ro"],
201 201
              "CapAdd": ["NET_ADMIN"],
202 202
              "CapDrop": ["MKNOD"],
203
+             "GroupAdd": ["newgroup"],
203 204
              "RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
204 205
              "NetworkMode": "bridge",
205 206
              "Devices": [],
... ...
@@ -293,6 +294,7 @@ Json Parameters:
293 293
           Specified in the form `<container name>[:<ro|rw>]`
294 294
     -   **CapAdd** - A list of kernel capabilities to add to the container.
295 295
     -   **Capdrop** - A list of kernel capabilities to drop from the container.
296
+    -   **GroupAdd** - A list of additional groups that the container process will run as
296 297
     -   **RestartPolicy** – The behavior to apply when the container exits.  The
297 298
             value is an object with a `Name` property of either `"always"` to
298 299
             always restart, `"unless-stopped"` to restart always except when
... ...
@@ -265,6 +265,7 @@ Create a container
265 265
              "VolumesFrom": ["parent", "other:ro"],
266 266
              "CapAdd": ["NET_ADMIN"],
267 267
              "CapDrop": ["MKNOD"],
268
+             "GroupAdd": ["newgroup"],
268 269
              "RestartPolicy": { "Name": "", "MaximumRetryCount": 0 },
269 270
              "NetworkMode": "bridge",
270 271
              "Devices": [],
... ...
@@ -367,6 +368,7 @@ Json Parameters:
367 367
           Specified in the form `<container name>[:<ro|rw>]`
368 368
     -   **CapAdd** - A list of kernel capabilities to add to the container.
369 369
     -   **Capdrop** - A list of kernel capabilities to drop from the container.
370
+    -   **GroupAdd** - A list of additional groups that the container process will run as
370 371
     -   **RestartPolicy** – The behavior to apply when the container exits.  The
371 372
             value is an object with a `Name` property of either `"always"` to
372 373
             always restart, `"unless-stopped"` to restart always except when