From ef8d111b409759d928466d24ef3f87a52770a8c2 Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Wed, 11 Jul 2018 09:30:18 -0700 Subject: [PATCH] Use proper --mount syntax for cgroup passthrough volume mount --- .circleci/integration-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/integration-test.py b/.circleci/integration-test.py index c2c9772..68b51f0 100644 --- a/.circleci/integration-test.py +++ b/.circleci/integration-test.py @@ -25,7 +25,7 @@ def run_systemd_image(image_name, container_name): subprocess.check_call([ 'docker', 'run', '--privileged', - '-v /sys/fs/cgroup:/sys/fs/cgroup', + '--mount', 'type=bind,source=/sys/fs/cgroup,target=/sys/fs/cgroup', '--detach', '--name', container_name, image_name