-
Notifications
You must be signed in to change notification settings - Fork 18.9k
cgroup1: use shim v2 #41107
Copy link
Copy link
Closed
Labels
area/daemonCore EngineCore Engineimpact/changelogkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.Enhancements are not bugs or new features but can improve usability or performance.
Milestone
Metadata
Metadata
Assignees
Labels
area/daemonCore EngineCore Engineimpact/changelogkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.Enhancements are not bugs or new features but can improve usability or performance.
We have been already using shim v2 (
containerd-shim-runc-v2) on cgroup v2 hosts:moby/daemon/daemon_unix.go
Lines 1759 to 1761 in aaf470e
We should use shim v2 on cgroup v1 hosts as well.
I think we can safely switch the default, but if we fear potential regression, probably we should have a new daemon flag like
--containerd-shim-api=(1|2)which defaults to1.