I am currently struggling switching my cgroup v1 to cgroup v2 on my path to learning on how containers work, I am current using one of the courses that's taught in Frontendmasters on intros to containers. As you can see I am very new to linux and etc. And I found out in the middle of my course that I have to switch my cgroup to v2, and I have looked into several tutorials about it such as these websites
https://medium.com/@charles.vissol/cgroup-v2-in-details-8c138088f9ba#aa07
https://webuzo.com/docs/how-tos/how-to-enable-cgroups-v2/
I'm currently running on a docker container with the latest ubuntu image version, and I have also used the code that confirm its compatible for cgroup v2.
I did the steps and when I'm on my way to do theupdate-grubcommand it had this problem. I have been trying to find ways to fix it through websites and etc. But some of the answers are too far fetched for me to get, does anybody here has the solution to this? I would beg for your help, thank you 🙏
# grep cgroup /proc/filesystemsnodev cgroupnodev cgroup2# stat -fc %T /sys/fs/cgrouptmpfs# update-grub/usr/sbin/grub-probe: error: failed to get canonical path of `overlay'.
I have used all the apt update commands on ubuntu and also installed grubpc, as before it didn't know it as the command.
I have also did every steps from the websites and it all led to that error or another ones that I do not understand at all. I beg your help, thank you