Skip to content

Commit

Permalink
Merge pull request #11189 from hashicorp/f-gh-11173-docs
Browse files Browse the repository at this point in the history
docs: add changelog and website entry for #11173
  • Loading branch information
jrasell committed Sep 16, 2021
2 parents e34fa58 + 817cd01 commit 001579a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/11173.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
client: Allow Docker hostnames to be configured and interpolated in bridged networking mode
```
5 changes: 5 additions & 0 deletions website/content/docs/job-specification/network.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 001579a

Please sign in to comment.