mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 01:15:43 +03:00
On macOS, `os.TempDir` returns a symlinked path under `/var` which is outside of the directories shared into the VM used for Docker, and that fails tests using Docker that need that mount. If we expand the symlink to get the real path in `/private`, we're in the shared folders and can safely mount them.