Initial sandbox infrastructure setup.

This commit is contained in:
Overlord committed 2026-10-12 21:00:12 +02:00
1 parent 6ac68a7025
commit 0737b28897
10 files changed
+262

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
# Container flags for sandbox sessions, shared by the host and local tools.
# They mirror the configuration hardcoded in the spawner. Keep them in sync.
# shellcheck disable=SC2034
SANDBOX_FLAGS=(
--read-only --network none --cap-drop ALL
--security-opt no-new-privileges --user guest
--memory 80m --memory-swap 80m --cpus 0.5 --pids-limit 50
--ulimit nofile=256:256
--tmpfs /home/guest:size=8m,mode=1777,noexec,nosuid
--tmpfs /tmp:size=8m,noexec,nosuid
--log-driver none
--hostname sandbox
)