diff --git a/entrypoint.sh b/entrypoint.sh index abeb353..a602e2f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,6 +15,10 @@ DOCKERD_PID_FILE="/tmp/docker.pid" DOCKERD_LOG_FILE="/tmp/docker.log" sanitize_cgroups() { + if [ -e /sys/fs/cgroup/cgroup.controllers ]; then + return + fi + local cgroup="/sys/fs/cgroup" mkdir -p "${cgroup}"