Merge pull request #2087 from hashicorp/rkt-dns-docs

Document rkt --dns={host,none}
This commit is contained in:
Michael Schurter 2016-12-12 11:04:39 -08:00 committed by GitHub
commit 50826c7d87

View file

@ -64,7 +64,9 @@ The `rkt` driver supports the following configuration in the job spec:
reachable from the box running the nomad agent. If not specified, the image is reachable from the box running the nomad agent. If not specified, the image is
run without verifying the image signature. run without verifying the image signature.
* `dns_servers` - (Optional) A list of DNS servers to be used in the containers. * `dns_servers` - (Optional) A list of DNS servers to be used in the container.
Alternatively a list containing just `host` or `none`. `host` uses the host's
`resolv.conf` while `none` forces use of the image's name resolution configuration.
* `dns_search_domains` - (Optional) A list of DNS search domains to be used in * `dns_search_domains` - (Optional) A list of DNS search domains to be used in
the containers. the containers.