Error: container stats resource only available for cgroup v2 #21186
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
remote
Problem is in podman-remote
Issue Description
When running the command
podman stats
on Windows 11 it shows an error about the cgroup not being version 2.Steps to reproduce the issue
Steps to reproduce the issue
podman machine start
podman stats
Describe the results you received
Error: container stats resource only available for cgroup v2
Describe the results you expected
To show the appropriate statistics for containers.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
systeminfo
output:Additional information
Setting the machine to
rootful
does not seem to make any difference.Since WSL2 supports systemd now and it comes enabled by default in Ubuntu, maybe it can work with the Podman machine?
The text was updated successfully, but these errors were encountered: