Docker container starting issue: setting cgroup config for procHooks process caused
Asked Answered
R

1

6

I'm a little newbie to Docker. I was trying to deploying Hortonworks sandbox on docker but unfortunately, the below error encountered.

docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: process_linux.go:508: setting cgroup config for procHooks process caused: resulting devices cgroup doesn't match target mode: unknown.

Once I was able to set up everything on a different server correctly which was a Ubuntu 20.04 VPS from Contabo.

But this time I have used a VPS from VPSDime and I have tested this on 3 different operating systems and the same error occurred: Ubuntu 20.04, Ubuntu 18.04, CentOS 8.

Please help me, I have followed this guide here: https://tomas-savenas.medium.com/hortonworks-sandbox-hdp-3-0-on-ubuntu-18-04-using-docker-da579fd654f9

Rainger answered 1/6, 2021 at 15:22 Comment(1)
The error looks similar to the one mentioned here: reddit.com/r/Fedora/comments/onui0l/…. You might try downgrading containerd.io to 1.4.6Xanthate
P
3

i had pretty much the same error message with Arch Linux using the old Linux-CK kernel with MuQSS. in my case MuQSS was the rootcause for this error, but I could make it work with the following workaround. Add this line to the kernel parameters:

systemd.unified_cgroup_hierarchy=0

source: Fix Docker cgroup errors after systemd 248 update

Primo answered 7/1, 2022 at 17:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.