-
Notifications
You must be signed in to change notification settings - Fork 8
Container failling to start #4
Comments
Would you try docker run with “--privileged”? Would you also share your environment details (“docker info”)? |
Running it with --privileged doesn't seem to fix it
Here's the output for docker info
|
The only difference with my environments, which may cause issue, is the “Cgroup Version: 2” (mines are 1).
You might want to play with some of the suggestion in the links. For me, I will need to read them in detail and try to spin up an environment with recent host systemd / cgroup v2 - not sure when I will have the time. |
Yeah that indeed seems to be the issue. I will try to tinker with it and report my findings here when I have time ! |
I couldn’t setup an environment with cgroup v2. But if you have access to the boot parameters of your host this seems to be the easiest solution as it enables hybrid cgroup:
|
I found another workaround for cgroup v2 if using docker cli (not compose):
However, I am not sure about the side effects of using the host cgroups in rw. But it resolved the issue in the github action with the latest ubuntu image |
Hello,
I am having issues starting the container. I tried with docker run and the docker-compose.yml provided in the repo but it results in the same error.
It appears cgroup is supposed to be mounted as RO. So I really don't know what this could be due to.
My distro is Arch Linux if that helps.
Let me know if you need some more info to help identify the issue.
The text was updated successfully, but these errors were encountered: