Add description for volume_mount stanza.

This commit is contained in:
Shishir Mahajan 2021-01-07 17:38:46 -08:00
parent 540e5c3581
commit e18645bb7b
No known key found for this signature in database
GPG Key ID: D41782E7688DEC4A

View File

@ -118,6 +118,11 @@ mounts = [
}
]
```
In additon to the `mounts` option in `Task Config`, you can also mount your volumes into the container using nomad [`volume_mount stanza`](https://www.nomadproject.io/docs/job-specification/volume_mount)
See [`example job`](https://github.com/Roblox/nomad-driver-containerd/blob/master/example/volume_mount.nomad) for `volume_mount`.
**Custom seccomp profile example**
The default `docker` seccomp profile found [`here`](https://github.com/moby/moby/blob/master/profiles/seccomp/default.json)