From ebb95bfcd8eafadedb610e444079af3a4633e413 Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Wed, 11 Jul 2018 09:24:38 -0700 Subject: [PATCH] Pass through cgroups when trying to run systemd From https://discuss.circleci.com/t/docker-with-centos7-systemd-container/885/14 --- .circleci/integration-test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/integration-test.py b/.circleci/integration-test.py index 76c03a6..c2c9772 100644 --- a/.circleci/integration-test.py +++ b/.circleci/integration-test.py @@ -25,6 +25,7 @@ def run_systemd_image(image_name, container_name): subprocess.check_call([ 'docker', 'run', '--privileged', + '-v /sys/fs/cgroup:/sys/fs/cgroup', '--detach', '--name', container_name, image_name