[systemd-devel] Running containers under freezer

Lennart Poettering lennart at poettering.net
Tue Apr 6 16:24:12 UTC 2021


On Fr, 02.04.21 20:22, Bhasker C V (bhasker at unixindia.com) wrote:

> Hi,
>  Please could someone help ?
>
>  I want my containers to run inside a freezer cgroup so that I can freeze
> and thaw the container as and when needed.

I this on cgroupsv1?

We simply don't support the freezer on cgroupsv1, it's just too messy
of an interface.

It's supported fine on cgroupsv2 with a recent systemd version, where
you'll have "systemctl freeze", and things should just work.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list