Try ignoring /sys/fs/cgroup mount

This commit is contained in:
Simon Li
2022-11-27 23:48:17 +00:00
committed by Pris Nasrat
parent 967348069f
commit 57b0ed89b3

View File

@@ -82,8 +82,8 @@ def run_systemd_image(image_name, container_name, bootstrap_pip_spec):
# If this is changed all docs references to the required memory must be changed too.
"--memory=900m",
]
if container_runtime() != "podman":
cmd.append("--mount=type=bind,source=/sys/fs/cgroup,target=/sys/fs/cgroup")
# if container_runtime() != "podman":
# cmd.append("--mount=type=bind,source=/sys/fs/cgroup,target=/sys/fs/cgroup")
if bootstrap_pip_spec:
cmd.append("-e")