1
当podman从systemd启动时,为什么conmon在另一个cgroup中?
给定podman安装在linux系统和名为baz.service的systemd单元上: # /etc/systemd/system/baz.service [Service] ExecStart=/usr/bin/podman run --rm --tty --name baz alpine sh -c 'while true; do date; sleep 1; done' ExecStop=/usr/bin/podman stop baz 然后baz.service启动: # systemctl daemon-reload # systemctl start baz.service 然后,当我检查设备的状态时,在/system.slice/baz.service cgroup 中看不到shor sleep进程 # systemctl status baz ● baz.service Loaded: loaded (/etc/systemd/system/baz.service; static; vendor preset: enabl Active: active …