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>
This commit is contained in:
Roland Huß 2016-02-12 18:23:46 +01:00
parent c312eab74e
commit c80b36c938
9 changed files with 13 additions and 10 deletions

View File

@ -249,7 +249,7 @@ Json Parameters:
An ever increasing delay (double the previous delay, starting at 100mS) An ever increasing delay (double the previous delay, starting at 100mS)
is added before each restart to prevent flooding the server. is added before each restart to prevent flooding the server.
- **NetworkMode** - Sets the networking mode for the container. Supported - **NetworkMode** - Sets the networking mode for the container. Supported
values are: `bridge`, `host`, and `container:<name|id>` values are: `bridge`, `host`, `none`, and `container:<name|id>`
- **Devices** - A list of devices to add to the container specified in the - **Devices** - A list of devices to add to the container specified in the
form form
`{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}` `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`
@ -596,7 +596,7 @@ Json Parameters:
An ever increasing delay (double the previous delay, starting at 100mS) An ever increasing delay (double the previous delay, starting at 100mS)
is added before each restart to prevent flooding the server. is added before each restart to prevent flooding the server.
- **NetworkMode** - Sets the networking mode for the container. Supported - **NetworkMode** - Sets the networking mode for the container. Supported
values are: `bridge`, `host`, and `container:<name|id>` values are: `bridge`, `host`, `none`, and `container:<name|id>`
- **Devices** - A list of devices to add to the container specified in the - **Devices** - A list of devices to add to the container specified in the
form form
`{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}` `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`

View File

@ -249,7 +249,7 @@ Json Parameters:
An ever increasing delay (double the previous delay, starting at 100mS) An ever increasing delay (double the previous delay, starting at 100mS)
is added before each restart to prevent flooding the server. is added before each restart to prevent flooding the server.
- **NetworkMode** - Sets the networking mode for the container. Supported - **NetworkMode** - Sets the networking mode for the container. Supported
values are: `bridge`, `host`, and `container:<name|id>` values are: `bridge`, `host`, `none`, and `container:<name|id>`
- **Devices** - A list of devices to add to the container specified in the - **Devices** - A list of devices to add to the container specified in the
form form
`{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}` `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`

View File

@ -251,7 +251,7 @@ Json Parameters:
An ever increasing delay (double the previous delay, starting at 100mS) An ever increasing delay (double the previous delay, starting at 100mS)
is added before each restart to prevent flooding the server. is added before each restart to prevent flooding the server.
- **NetworkMode** - Sets the networking mode for the container. Supported - **NetworkMode** - Sets the networking mode for the container. Supported
values are: `bridge`, `host`, and `container:<name|id>` values are: `bridge`, `host`, `none`, and `container:<name|id>`
- **Devices** - A list of devices to add to the container specified in the - **Devices** - A list of devices to add to the container specified in the
form form
`{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}` `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`

View File

@ -270,7 +270,7 @@ Json Parameters:
An ever increasing delay (double the previous delay, starting at 100mS) An ever increasing delay (double the previous delay, starting at 100mS)
is added before each restart to prevent flooding the server. is added before each restart to prevent flooding the server.
- **NetworkMode** - Sets the networking mode for the container. Supported - **NetworkMode** - Sets the networking mode for the container. Supported
values are: `bridge`, `host`, and `container:<name|id>` values are: `bridge`, `host`, `none`, and `container:<name|id>`
- **Devices** - A list of devices to add to the container specified in the - **Devices** - A list of devices to add to the container specified in the
form form
`{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}` `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`

View File

@ -281,7 +281,7 @@ Json Parameters:
An ever increasing delay (double the previous delay, starting at 100mS) An ever increasing delay (double the previous delay, starting at 100mS)
is added before each restart to prevent flooding the server. is added before each restart to prevent flooding the server.
- **NetworkMode** - Sets the networking mode for the container. Supported - **NetworkMode** - Sets the networking mode for the container. Supported
values are: `bridge`, `host`, and `container:<name|id>` values are: `bridge`, `host`, `none`, and `container:<name|id>`
- **Devices** - A list of devices to add to the container specified as a JSON object in the - **Devices** - A list of devices to add to the container specified as a JSON object in the
form form
`{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}` `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`

View File

@ -289,7 +289,7 @@ Json Parameters:
An ever increasing delay (double the previous delay, starting at 100mS) An ever increasing delay (double the previous delay, starting at 100mS)
is added before each restart to prevent flooding the server. is added before each restart to prevent flooding the server.
- **NetworkMode** - Sets the networking mode for the container. Supported - **NetworkMode** - Sets the networking mode for the container. Supported
values are: `bridge`, `host`, and `container:<name|id>` values are: `bridge`, `host`, `none`, and `container:<name|id>`
- **Devices** - A list of devices to add to the container specified as a JSON object in the - **Devices** - A list of devices to add to the container specified as a JSON object in the
form form
`{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}` `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`

View File

@ -305,7 +305,8 @@ Json Parameters:
An ever increasing delay (double the previous delay, starting at 100mS) An ever increasing delay (double the previous delay, starting at 100mS)
is added before each restart to prevent flooding the server. is added before each restart to prevent flooding the server.
- **NetworkMode** - Sets the networking mode for the container. Supported - **NetworkMode** - Sets the networking mode for the container. Supported
values are: `bridge`, `host`, and `container:<name|id>` standard values are: `bridge`, `host`, `none`, and `container:<name|id>`. Any other value is taken
as a custom network's name to which this container should connect to.
- **Devices** - A list of devices to add to the container specified as a JSON object in the - **Devices** - A list of devices to add to the container specified as a JSON object in the
form form
`{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}` `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`

View File

@ -386,7 +386,8 @@ Json Parameters:
An ever increasing delay (double the previous delay, starting at 100mS) An ever increasing delay (double the previous delay, starting at 100mS)
is added before each restart to prevent flooding the server. is added before each restart to prevent flooding the server.
- **NetworkMode** - Sets the networking mode for the container. Supported - **NetworkMode** - Sets the networking mode for the container. Supported
values are: `bridge`, `host`, and `container:<name|id>` standard values are: `bridge`, `host`, `none`, and `container:<name|id>`. Any other value is taken
as a custom network's name to which this container should connect to.
- **Devices** - A list of devices to add to the container specified as a JSON object in the - **Devices** - A list of devices to add to the container specified as a JSON object in the
form form
`{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}` `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`

View File

@ -390,7 +390,8 @@ Json Parameters:
An ever increasing delay (double the previous delay, starting at 100mS) An ever increasing delay (double the previous delay, starting at 100mS)
is added before each restart to prevent flooding the server. is added before each restart to prevent flooding the server.
- **NetworkMode** - Sets the networking mode for the container. Supported - **NetworkMode** - Sets the networking mode for the container. Supported
values are: `bridge`, `host`, and `container:<name|id>` standard values are: `bridge`, `host`, `none`, and `container:<name|id>`. Any other value is taken
as a custom network's name to which this container should connect to.
- **Devices** - A list of devices to add to the container specified as a JSON object in the - **Devices** - A list of devices to add to the container specified as a JSON object in the
form form
`{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}` `{ "PathOnHost": "/dev/deviceName", "PathInContainer": "/dev/deviceName", "CgroupPermissions": "mrw"}`