mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
Enable setting networking mode for docker
This patch enables setting networking mode for the docker driver. This does not handle the `container` mode. Closes #175
This commit is contained in:
@@ -23,6 +23,11 @@ The `docker` driver supports the following configuration in the job specificatio
|
||||
|
||||
* `command` - (Optional) The command to run when starting the container.
|
||||
|
||||
* `network_mode` - (Optional) The network mode to be used for the container.
|
||||
Valid options are `net`, `bridge`, `host` or `none`. If nothing is
|
||||
specified, the container will start in `bridge` mode. The `container`
|
||||
network mode is not supported right now.
|
||||
|
||||
### Port Mapping
|
||||
|
||||
Nomad uses port binding to expose services running in containers using the port
|
||||
|
||||
Reference in New Issue
Block a user