Skip to content

Commit

Permalink
update volume_mount docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shumin1027 committed Jan 6, 2023
1 parent 93a96bc commit 88a944b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/content/docs/job-specification/volume_mount.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ job "docs" {
volume_mount {
volume = "certs"
destination = "/etc/ssl/certs"
propagation_mode = "private"
}
}
}
Expand All @@ -48,6 +49,11 @@ updates to remove a volume that it depends on.
specify that it is `read_only` on a per mount level using the `read_only`
option here.

- `propagation_mode` `(string: "")` - Configure [docker bind propagation](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation),
Can be one of `private``host-to-task` or `bidirectional` . Empty string and
`private` maps to `rprivate`, `host-to-task` maps to `rslave`,
and `bidirectional` maps to `rshared`.

For examples of how to use [HCL2] interpolation for fine-grained control of
volumes, see [Volume Interpolation].

Expand Down

0 comments on commit 88a944b

Please sign in to comment.