From e27c662a664e54dfbcc62cfc29fd11fbc51b3160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=89=AC?= Date: Thu, 1 Feb 2018 22:14:52 +0800 Subject: [PATCH] add /dev/shm to tmpfs to avoid python subprocess issues --- docker-compose.example.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 3c7c2f4..589049f 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -14,6 +14,7 @@ services: - /tmp - /judger_run:exec,mode=777 - /spj:exec,mode=777 + - /dev/shm:mode=777 volumes: - $PWD/tests/test_case:/test_case:ro - $PWD/log:/log