-
Notifications
You must be signed in to change notification settings - Fork 18.9k
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
Description
We have been already using shim v2 (containerd-shim-runc-v2) on cgroup v2 hosts:
Lines 1759 to 1761 in aaf470e
| func (daemon *Daemon) useShimV2() bool { | |
| return cgroups.IsCgroup2UnifiedMode() | |
| } |
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 to 1.
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.