New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System error on run: stat /sys/fs/cgroup/systemd: no such file or directory #18922
Comments
Hi! Please read this important information about creating issues. If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead. If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information. This is an automated, informational response. Thank you. For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues BUG REPORT INFORMATIONUse the commands below to provide key information from your environment:
Provide additional environment details (AWS, VirtualBox, physical, etc.): List the steps to reproduce the issue: Describe the results you received: Describe the results you expected: Provide additional info you think is important: ----------END REPORT --------- #ENEEDMOREINFO |
This issue has same root cause as rkt/rkt#1076 and I can workaround it by running the daemon in foreground in a tmux/screen:
Obviously the cgroupfs setup stage in the init script for the daemon is not taking care of non-systemd systems properly. |
@GordonTheTurtle you don't need |
@gdm85 created a PR for that; docker-archive/leeroy#41. Reason we kept it still around is that we sometimes receive reports from people running an older version of docker, which didn't yet include that information. It's probably safe by now to assume the majority of people have a version of docker that does. |
@thaJeztah oh, thanks - now I understand why it was there :) As per this issue, I think the change should go in the LSB init script, I can attempt a PR if it's acknowledged as a legit bug |
@gdm85 opening a PR won't hurt I think (at the chance it gets rejected 😇); It may be easier for maintainers to discuss the code change when looked at |
@thaJeztah sure, I am not conservative about the time needed to arrange a PR but rather: am I on a real issue or is this a blunder on my side? 😄 I think I nailed it with that PR; I found also a missing |
@gdm85 lol, I'll happy defer that to @LK4D4 or @anusha-ragunathan, I'm trying to keep up with the cgroups issues we encountered, but failing at times 😇 |
@thaJeztah ok thanks. I also Cc'ed in the PR @tianon and @jfrazelle as they are listed in REVIEWERS there. |
Yup, I saw, thanks! |
This is not happening anymore, tested with Docker 17/18; however, the bug in #36169 happens for any arbitrary directory created under I closed that issue, but perhaps it would be best for Docker to ignore such unknown directories in there. |
The system error:
Some environment details:
This is how cgroup is setup here:
The text was updated successfully, but these errors were encountered: