Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 452 Bytes

cGroup_details.md

File metadata and controls

28 lines (19 loc) · 452 Bytes
  • Let's come to the docker-host container's root dir

Now install cgroup-tools and htop

apt-get install -y cgroup-tools htop

Create a cGroup /sandbox

Use this command

cgcreate -g cpu,memory,blkio,freezer,devices:/sandbox

if any error occurs

Check if cgroups are mounted:

mount | grep cgroup

If you don’t see cgroups mounted, try manually mounting them:

sudo mount -t cgroup2 none /sys/fs/cgroup