-
Notifications
You must be signed in to change notification settings - Fork 186
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
cgcreate
fails. Cgroup not mounted.
#87
Comments
I was going to suggest that based on the cgroups lesson page, the course was last reviewed 5 years ago. But that shouldn't be a problem if we're all running within an |
It's a bit of both. From my research it seems to be something related to Also you have to keep in mind that containers are not VMs, they use the underling host kernel. Because of this if the host kernel does not provide something or has a regression introduced, your container won't work. I have a case like this at work where I have to stay on Kernel 6.6.x because after that a regression was introduced and because of that I could not launch Docker images of Microsoft SQL Server, I'll keep this issue open. If @btholt decided to close it I'm fine with closing it. |
This is indeed broken. I tried to fix it for v1 of this course but it was so different that I'm actually heading back to re-record it in May. |
I just finished rewriting the section for v2 if you want to preview the next version of the course https://containers-v2.holt.courses/lessons/crafting-containers-by-hand/cgroups |
I created this script to automate the
cgroups
creation:It fails with:
I don't get why it's going mad. I'm using also an Ubuntu Bionic base image for my
chroot
.The text was updated successfully, but these errors were encountered: