diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-09-22 11:43:02 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-09-22 13:15:01 -0400 |
commit | 99386c7ae74a279a5dafc9bffc780440f0ef7f51 (patch) | |
tree | 5ac3971c04eba2bf39c4bc56d9b1641783e96400 /libpod/info.go | |
parent | 23cb2009196cdf604ad9f0a77ff7544d7a25b5e0 (diff) | |
download | podman-99386c7ae74a279a5dafc9bffc780440f0ef7f51.tar.gz podman-99386c7ae74a279a5dafc9bffc780440f0ef7f51.tar.bz2 podman-99386c7ae74a279a5dafc9bffc780440f0ef7f51.zip |
Include cgroup manager in `podman info` output
This is very useful for debugging cgroups v2, especially on
rootless - we need to ensure people are correctly using systemd
cgroups in these cases.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/info.go')
-rw-r--r-- | libpod/info.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/info.go b/libpod/info.go index 153000b6f..dd7a521c1 100644 --- a/libpod/info.go +++ b/libpod/info.go @@ -87,6 +87,7 @@ func (r *Runtime) hostInfo() (*define.HostInfo, error) { info := define.HostInfo{ Arch: runtime.GOARCH, BuildahVersion: buildah.Version, + CgroupManager: r.config.Engine.CgroupManager, Linkmode: linkmode.Linkmode(), CPUs: runtime.NumCPU(), Distribution: hostDistributionInfo, |