Verification Before Making Changes

Before applying any configuration changes, verify the active cgroup hierarchy on your host system.

  1. Run the verification command on the host system:
    stat -fc %T /sys/fs/cgroup/
  2. Interpret the output as follows:
    • cgroup2fs — Indicates that cgroup v2 (unified hierarchy) is active. No further action is required.
    • tmpfs — Indicates that cgroup v1 (legacy or hybrid hierarchy) is active. Follow the OS-specific steps in this guide to enable cgroup v2.