#cgroup namespaces aren't enabled in the kernel

29 messages · Page 1 of 1 (latest)

dense kettle
#

Hey guys, I was able to install casaOS seemingly without issues. I am able to access the web interface without problems.
But I am unable to install any application. I get that error message every time.
I am using version 4.4.194 of the Linux kernel (pre cgroup v2) for compatibility reasons in this old machine I installed this on.
How can I troubleshoot this?

BTW I am using Armbian 22.08.4 Bullseye

fickle wraith
#

Eh docker should work with cgroupsv1 what

#

Docker should run fine on bullseye btw.

#

armbian probably too

#

But is your kernel supported by docker?

dense kettle
#

I think the problem is that it expects cgroup V2, but that is not available bc it hasnct been introduced by that kernel version

#

Is there a way to disable cgroup v2 from docker and enable cgroup v1 instead?

fickle wraith
#

I would assume that v2 support is hardcoded into the binary

#

you can maybe try running the buster release since buster still used cgroups v1

#

remove docker and change the repository url to buster

#

then install it again

dense kettle
#

oh, I see what you mean. I will give it a try. thanks

#

btw, out of curiosity. how can you tell buster still uses cgroup v1?

fickle wraith
#

-> everything below runs with v1

#

xd

#

like fedora 34 or 35? enabled v2 on fedora...

dense kettle
#

oh, thank you!

#

I will try this today or tomorrow and post here the results

#

one last question. do I make this change in /etc/apt/sources.list

distant tideBOT
#

GG @dense kettle, you just advanced to level 1!

fickle wraith
#

you have to run apt update after that

dense kettle
#

Only these two files are in sources.list.d: armbian.list armbian.list.save

fickle wraith
#

Eh somewhere has to be the docker line

distant tideBOT
#

GG @fickle wraith, you just advanced to level 15!

fickle wraith
#

He already uses cgroups1 since he uses an extremely old kernel^^