Skip to content

Filesystem

Nomad creates a working directory for each allocation on a client, the working directory has the following structure:

.
└── alloc/
    ├── data/
    ├── logs/
    └── tmp/
  • alloc/ - Shared between all tasks in an allocation. Can be used to store data that needs to be shared by multiple tasks

    • alloc/data/ - Directory used by ephemeral_disk for shared data
    • alloc/logs/ - Location of the log files for every task within an allocation
    • alloc/tmp/ - Temporary directory used as scratch space by task drivers

Tasks also have their own task working directory, see the below docs for more details.


Last update: August 5, 2023
Created: August 5, 2023