docs: add network.hostname job specification website entry.

This commit is contained in:
James Rasell 2021-09-15 11:43:47 +02:00
parent bbae221c8c
commit b5039c96a4
No known key found for this signature in database
GPG Key ID: AA7D460F5C8377AA
1 changed files with 5 additions and 0 deletions

View File

@ -68,6 +68,11 @@ job "docs" {
- `cni/<cni network name>` - Task group will have an isolated network namespace
with the network configured by CNI.
- `hostname` `(string: "")` - The hostname assigned to the network namespace. This
is currently only supported using the [Docker driver][docker-driver] and when the
[mode](#mode) is set to [`bridge`](#bridge). This parameter supports
[interpolation](/docs/runtime/interpolation).
- `dns` <code>([DNSConfig](#dns-parameters): nil)</code> - Sets the DNS configuration
for the allocations. By default all DNS configuration is inherited from the client host.
DNS configuration is only supported on Linux clients at this time.