mirror of
https://github.com/juanfont/headscale.git
synced 2026-09-12 03:31:34 +09:00
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:
committed by
nblock
parent
f91702d7ec
commit
4087d1fee9
@@ -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" \
|
||||
|
||||
@@ -29,6 +29,7 @@ docker run \
|
||||
--name headscale \
|
||||
--detach \
|
||||
--read-only \
|
||||
--tmpfs /tmp \
|
||||
--tmpfs /var/run/headscale \
|
||||
--volume "$(pwd)/config:/etc/headscale:ro" \
|
||||
--volume "$(pwd)/lib:/var/lib/headscale" \
|
||||
|
||||
Reference in New Issue
Block a user