mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Pass through cgroups when trying to run systemd
From https://discuss.circleci.com/t/docker-with-centos7-systemd-container/885/14
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user