mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
Update filesystem.mdx (#11182)
* Update filesystem.mdx Update summary of alloc directory to include information on access differences between task drivers and filesystem isolation modes. Co-authored-by: Tim Gross <tim@0x74696d.com>
This commit is contained in:
@@ -42,8 +42,12 @@ allocation directory like the one below.
|
||||
log shipper. This is the directory that's provided to the task as the
|
||||
`NOMAD_ALLOC_DIR`. Note that this `alloc/` directory is not the same as the
|
||||
"allocation working directory", which is the top-level directory. All tasks
|
||||
in a task group can read and write to the `alloc/` directory. Within the
|
||||
`alloc/` directory are three standard directories:
|
||||
in a task group can read and write to the `alloc/` directory. But the full host
|
||||
path may differ depending on the task driver's [filesystem isolation mode], so
|
||||
tasks should always used the `NOMAD_ALLOC_DIR` environment variable
|
||||
to find this path rather than relying on the specific implementation of the
|
||||
[`none`](#none-isolation), [`chroot`](#chroot-isolation), or [`image`](#image-isolation)
|
||||
modes. Within the `alloc/` directory are three standard directories:
|
||||
|
||||
- **alloc/data/**: This directory is the location used by the
|
||||
[`ephemeral_disk`] stanza for shared data.
|
||||
|
||||
Reference in New Issue
Block a user