There is somthing warning, when I add "--pid=host". How can I get this warning gone? OS: 8.3.2011 Podman: 2.2.1 [rsync@rsyncdk2 ~]$ podman run --rm --pid=host fb7ad16314ee sleep 3 WARN[0000] cannot toggle freezer: cgroups not configured for container WARN[0000] lstat : no such file or directory
It looks like you're on a Cgroups v1 system, which would explain why Cgroups are not available to a non-root user (they are only usable as rootless with Cgroups v2 systems). We should not be warning the user about this, though. I do note that your Podman version is very old; it's quite possible we've fixed this in the ~18 months since 2.2.x was released. Can you try a more recent version? Thanks, Matt Heon On Fri, Feb 18, 2022 at 5:13 AM None via Podman <podman@lists.podman.io> wrote:
There is somthing warning, when I add "--pid=host". How can I get this warning gone?
OS: 8.3.2011 Podman: 2.2.1
[rsync@rsyncdk2 ~]$ podman run --rm --pid=host fb7ad16314ee sleep 3 WARN[0000] cannot toggle freezer: cgroups not configured for container WARN[0000] lstat : no such file or directory _______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
I have update the podman to 4.0.2. There is still the WARN. $ podman rm -a WARN[0000] cannot toggle freezer: cgroups not configured for container WARN[0000] cannot toggle freezer: cgroups not configured for container WARN[0000] lstat : no such file or directory $ podman version Client: Podman Engine Version: 4.0.2 API Version: 4.0.2 Go Version: go1.16.13 Git Commit: c99f9f1b6960b98158b7f5fc4e6b5ac1a10b3542 Built: Wed Mar 23 18:33:41 2022 OS/Arch: linux/amd64
participants (2)
-
Matt Heon -
ugiwgh@qq.com