diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-11-21 21:00:51 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-11-21 21:00:51 +0100 |
commit | f0c60194afef6f5a54cd61f0b9dc3df1e11f45a7 (patch) | |
tree | 21066f0b8e3842ba72e2bf59f096c889be182a00 | |
parent | b13a2e76f34b09881067c16a36f4ddbd1f61a7e1 (diff) | |
download | koszko-org-server-f0c60194afef6f5a54cd61f0b9dc3df1e11f45a7.tar.gz koszko-org-server-f0c60194afef6f5a54cd61f0b9dc3df1e11f45a7.zip |
prevent the \{,re\}start-container make targets from clobbering the global mount space
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,14 +46,14 @@ log: mkdir -p log start-container: guix-container.sh container-runner.touchfile | log - ./run-with-fake-mounts.sh \ + unshare --mount ./run-with-fake-mounts.sh \ ./$< start -e ./container-runner -p ./pidfile -l ./log stop-container: guix-container.sh ./$< stop -e ./container-runner -p ./pidfile restart-container: guix-container.sh container-runner.touchfile | log - ./run-with-fake-mounts.sh \ + unshare --mount ./run-with-fake-mounts.sh \ ./$< restart -e ./container-runner -p ./pidfile -l ./log enter-container: pidfile |