mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 19:35:41 +03:00
Remove defunct DRIVER references in docs
Simplifies things greatly!
This commit is contained in:
@@ -401,19 +401,10 @@ Note that by default this only works with `bridged` networking mode. It may
|
||||
also work with custom networking plugins which implement the same API for
|
||||
expose and port forwarding.
|
||||
|
||||
### Using Docker IPs and Ports
|
||||
### Advertising Container IPs
|
||||
|
||||
*New in Nomad 0.6.*
|
||||
|
||||
Other than `host` and `none`, Docker network modes create an IP for the
|
||||
container. This IP is set when the container is run and exposed as a
|
||||
`NOMAD_DRIVER_IP_<label>` environment variable for use in script checks.
|
||||
|
||||
The ports specified in the `port_map` are exposed via the
|
||||
`NOMAD_DRIVER_PORT_<label>` environment variables. Unlike the IP, ports are
|
||||
available *when* the container is run and can be used in `args` or as
|
||||
environment variables within the container.
|
||||
|
||||
When using network plugins like `weave` that assign containers a routable IP
|
||||
address, that address will automatically be used in any `service`
|
||||
advertisements for the task. You may override what address is advertised by
|
||||
|
||||
Reference in New Issue
Block a user