document the new /dev/disk1s5 on / (apfs, local, read-only, journaled)

devfs on /dev (devfs, local, nobrowse)
/dev/disk1s1 on /System/Volumes/Data (apfs, local, journaled, nobrowse)
/dev/disk1s4 on /private/var/vm (apfs, local, journaled, nobrowse)
map auto_home on /System/Volumes/Data/home (autofs, automounted, nobrowse)
/dev/disk2s1 on /Volumes/nRF Connect 3.6.1 (hfs, local, nodev, nosuid, read-only, noowners, quarantine, mounted by notnoop) syntax
This commit is contained in:
Mahmood Ali 2020-12-16 17:25:02 -05:00
parent 9c315540a4
commit 39fd59638a
2 changed files with 61 additions and 1 deletions

View File

@ -327,7 +327,56 @@ config {
- `work_dir` - (Optional) The working directory inside the container. - `work_dir` - (Optional) The working directory inside the container.
- `mounts` - (Optional) A list of - `mount` - *Since 1.0.1* (Optional) Specify a
[mount](https://docs.docker.com/engine/reference/commandline/service_create/#add-bind-mounts-volumes-or-memory-filesystems)
to be mounted into the container. Volume, bind, and tmpfs type mounts are supported. May be specified multiple times.
```hcl
config {
# sample volume mount
mount {
type = "volume"
target = "/path/in/container"
source = "name-of-volume"
readonly = false
volume_options {
no_copy = false
labels {
foo = "bar"
}
driver_config {
name = "pxd"
options {
foo = "bar"
}
}
}
}
# sample bind mount
mount {
type = "bind"
target = "/path/in/container"
source = "/path/in/host"
readonly = false
bind_options {
propagation = "rshared"
}
}
# sample tmpfs mount
mount {
type = "tmpfs"
target = "/path/in/container"
readonly = false
tmpfs_options {
size = 100000 # size in bytes
}
}
}
```
- `mounts` - (*deprecated*: Replaced by `mount` in 1.0.1) (Optional) A list of
[mounts](https://docs.docker.com/engine/reference/commandline/service_create/#add-bind-mounts-volumes-or-memory-filesystems) [mounts](https://docs.docker.com/engine/reference/commandline/service_create/#add-bind-mounts-volumes-or-memory-filesystems)
to be mounted into the container. Volume, bind, and tmpfs type mounts are supported. to be mounted into the container. Volume, bind, and tmpfs type mounts are supported.

View File

@ -154,6 +154,17 @@ mounts = [
] ]
``` ```
Or better yet, the new [`mount`](/docs/driver/docker#mount) syntax is more appropriate here:
````hcl
mount {
type = "tmpfs"
tmpf_options {
size = 10000
}
}
```
### Multiline "here doc" string ### Multiline "here doc" string
Nomad supports multi-line string literals in the so-called "heredoc" style, inspired by Unix shell languages: Nomad supports multi-line string literals in the so-called "heredoc" style, inspired by Unix shell languages: