aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-12-28 13:31:06 -0800
committerGravatar MarkKoz <[email protected]>2019-12-28 13:31:06 -0800
commit0e88b92e4b59e2cf460fe1c9fa08a38a3a2acba0 (patch)
tree2bcdb0add93ab184c763d27aae4990489c119594
parentMerge pull request #53 from python-discord/limit-numpy-threads (diff)
Disable shared memory in Docker container
-rw-r--r--docker-compose.yml1
-rwxr-xr-xscripts/dev.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index d071a71..aeb2806 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -6,6 +6,7 @@ services:
image: pythondiscord/snekbox:latest
network_mode: "host"
init: true
+ ipc: none
build:
context: .
dockerfile: docker/Dockerfile
diff --git a/scripts/dev.sh b/scripts/dev.sh
index 6aeb1de..0275651 100755
--- a/scripts/dev.sh
+++ b/scripts/dev.sh
@@ -40,6 +40,7 @@ docker run \
--privileged \
--network host \
--hostname pdsnk-dev \
+ --ipc="none" \
-e PYTHONDONTWRITEBYTECODE=1 \
-e PIPENV_PIPFILE="/snekbox/Pipfile" \
-e BASH_ENV="${PWD}/scripts/.profile" \