Browse code

Extended explanation of NetworkMode's value

* Add network mode `none` to list of possible values for API version 1.15 - 1.23
* For API version 1.21 - 1.23 add explanation that any other value is taken as a custom network's name

Signed-off-by: Roland Huß <roland@jolokia.org>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Roland Huß authored on 2016/02/13 02:23:46
Showing 8 changed files
... ...
@@ -249,7 +249,7 @@ Json Parameters:
249 249
           An ever increasing delay (double the previous delay, starting at 100mS)
250 250
           is added before each restart to prevent flooding the server.
251 251
   -   **NetworkMode** - Sets the networking mode for the container. Supported
252
-        values are: `bridge`, `host`, and `container:<name|id>`
252
+        values are: `bridge`, `host`, `none`, and `container:<name|id>`
253 253
   -   **Devices** - A list of devices to add to the container specified in the
254 254
         form
255 255
         `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`
... ...
@@ -596,7 +596,7 @@ Json Parameters:
596 596
         An ever increasing delay (double the previous delay, starting at 100mS)
597 597
         is added before each restart to prevent flooding the server.
598 598
 -   **NetworkMode** - Sets the networking mode for the container. Supported
599
-      values are: `bridge`, `host`, and `container:<name|id>`
599
+      values are: `bridge`, `host`, `none`, and `container:<name|id>`
600 600
 -   **Devices** - A list of devices to add to the container specified in the
601 601
       form
602 602
       `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`
... ...
@@ -249,7 +249,7 @@ Json Parameters:
249 249
           An ever increasing delay (double the previous delay, starting at 100mS)
250 250
           is added before each restart to prevent flooding the server.
251 251
   -   **NetworkMode** - Sets the networking mode for the container. Supported
252
-        values are: `bridge`, `host`, and `container:<name|id>`
252
+        values are: `bridge`, `host`, `none`, and `container:<name|id>`
253 253
   -   **Devices** - A list of devices to add to the container specified in the
254 254
         form
255 255
         `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`
... ...
@@ -251,7 +251,7 @@ Json Parameters:
251 251
           An ever increasing delay (double the previous delay, starting at 100mS)
252 252
           is added before each restart to prevent flooding the server.
253 253
   -   **NetworkMode** - Sets the networking mode for the container. Supported
254
-        values are: `bridge`, `host`, and `container:<name|id>`
254
+        values are: `bridge`, `host`, `none`, and `container:<name|id>`
255 255
   -   **Devices** - A list of devices to add to the container specified in the
256 256
         form
257 257
         `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`
... ...
@@ -270,7 +270,7 @@ Json Parameters:
270 270
             An ever increasing delay (double the previous delay, starting at 100mS)
271 271
             is added before each restart to prevent flooding the server.
272 272
     -   **NetworkMode** - Sets the networking mode for the container. Supported
273
-          values are: `bridge`, `host`, and `container:<name|id>`
273
+          values are: `bridge`, `host`, `none`, and `container:<name|id>`
274 274
     -   **Devices** - A list of devices to add to the container specified in the
275 275
           form
276 276
           `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`
... ...
@@ -281,7 +281,7 @@ Json Parameters:
281 281
             An ever increasing delay (double the previous delay, starting at 100mS)
282 282
             is added before each restart to prevent flooding the server.
283 283
     -   **NetworkMode** - Sets the networking mode for the container. Supported
284
-          values are: `bridge`, `host`, and `container:<name|id>`
284
+          values are: `bridge`, `host`, `none`, and `container:<name|id>`
285 285
     -   **Devices** - A list of devices to add to the container specified as a JSON object in the
286 286
       form
287 287
           `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`
... ...
@@ -289,7 +289,7 @@ Json Parameters:
289 289
             An ever increasing delay (double the previous delay, starting at 100mS)
290 290
             is added before each restart to prevent flooding the server.
291 291
     -   **NetworkMode** - Sets the networking mode for the container. Supported
292
-          values are: `bridge`, `host`, and `container:<name|id>`
292
+          values are: `bridge`, `host`, `none`, and `container:<name|id>`
293 293
     -   **Devices** - A list of devices to add to the container specified as a JSON object in the
294 294
       form
295 295
           `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`
... ...
@@ -305,7 +305,8 @@ Json Parameters:
305 305
             An ever increasing delay (double the previous delay, starting at 100mS)
306 306
             is added before each restart to prevent flooding the server.
307 307
     -   **NetworkMode** - Sets the networking mode for the container. Supported
308
-          values are: `bridge`, `host`, and `container:<name|id>`
308
+          standard values are: `bridge`, `host`, `none`, and `container:<name|id>`. Any other value is taken
309
+          as a custom network's name to which this container should connect to.
309 310
     -   **Devices** - A list of devices to add to the container specified as a JSON object in the
310 311
       form
311 312
           `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`
... ...
@@ -386,7 +386,8 @@ Json Parameters:
386 386
             An ever increasing delay (double the previous delay, starting at 100mS)
387 387
             is added before each restart to prevent flooding the server.
388 388
     -   **NetworkMode** - Sets the networking mode for the container. Supported
389
-          values are: `bridge`, `host`, and `container:<name|id>`
389
+          standard values are: `bridge`, `host`, `none`, and `container:<name|id>`. Any other value is taken
390
+          as a custom network's name to which this container should connect to.
390 391
     -   **Devices** - A list of devices to add to the container specified as a JSON object in the
391 392
       form
392 393
           `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`