resource_config.json as described in Remote Nodes & Client Mode.
Define Storage Mappings
Add astorage object to any node that should expose directories:
/workspace/<mount_name>in thegrid_corecontainer/mnt/<mount_name>in the simulator container (for example/mnt/datasets)
Apply Changes
- Update
~/.grid/resource_config.jsonon the CLI machine. - Restart the CLI (
grid) so it reloads the configuration. - Re-run
initon the target node. GRID rewrites the Docker Compose volumes each time it brings the stack up, so new mounts take effect on the next initialisation.
docker inspect grid_core on the remote host or by opening the notebook (open nb @node) and listing the /workspace directory.
Tips & Good Practices
- Keep mount names short and descriptive (
datasets,logs,notebooks). - Use read-only mounts for immutable datasets by updating the Docker Compose file on the remote host if your security model requires it.
- Remove a mount by deleting the key from
storage; the nextinitregenerates the configuration without it.