Use tmpfs for /tmp

This is relevant when docker is used as container runtime as it does not
set /tmp as tmpfs. With podman /tmp is mounted as tmpfs due to
`--read-only-tmpfs` (enabled by default).

Fixes: #3463
This commit is contained in:
Florian Preinstorfer
2026-09-10 10:59:44 +02:00
committed by nblock
parent f91702d7ec
commit 4087d1fee9
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ Registry](https://github.com/juanfont/headscale/pkgs/container/headscale). The c
--name headscale \
--detach \
--read-only \
--tmpfs /tmp \
--tmpfs /var/run/headscale \
--volume "$(pwd)/config:/etc/headscale:ro" \
--volume "$(pwd)/lib:/var/lib/headscale" \