Skip to content
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

CGroup Problem #3

Open
amirhamza05 opened this issue Dec 6, 2023 · 1 comment
Open

CGroup Problem #3

amirhamza05 opened this issue Dec 6, 2023 · 1 comment

Comments

@amirhamza05
Copy link
Member

amirhamza05 commented Dec 6, 2023

if ubuntu cgroup problem then follow this command:
need to cg 2 to cg1 convert.

sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=false systemd.legacy_systemd_cgroup_controller=false"
sudo update-grub
sudo reboot

docker run --privileged -v /sys/fs/cgroup:/sys/fs/cgroup  -p 80:80 -d image
@amirhamza05
Copy link
Member Author

sudo apt update
sudo apt install grub2-common

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant