Skip to content

cgroup v1: change the default runtime to io.containerd.runc.v2#41210

Merged
cpuguy83 merged 1 commit intomoby:masterfrom
AkihiroSuda:shim2-default
Jul 15, 2020
Merged

cgroup v1: change the default runtime to io.containerd.runc.v2#41210
cpuguy83 merged 1 commit intomoby:masterfrom
AkihiroSuda:shim2-default

Conversation

@AkihiroSuda
Copy link
Member

- What I did
Changed the default runtime to io.containerd.runc.v2.

Fix #41107
Replace #41115

The previous default runtime io.containerd.runtime.v1.linux is being deprecated (containerd/containerd#4365)

io.containerd.runc.v2 is available since containerd v1.3.0.
Using v1.3.5 or later is recommended. v1.3.0-v1.3.4 doesn't pass TestContainerStartOnDaemonRestart.

- How to verify it

Run some containers and make sure containerd-shim-runc-v2 processes are running

- Description for the changelog

cgroup v1: change the default runtime to io.containerd.runc.v2. Requires containerd v1.3.0 or later. v1.3.5 or later is recommended.

- A picture of a cute animal (not mandatory but encouraged)
🐧

The previous default runtime `io.containerd.runtime.v1.linux` is being deprecated (containerd/containerd#4365)

`io.containerd.runc.v2` is available since containerd v1.3.0.
 Using v1.3.5 or later is recommended.  v1.3.0-v1.3.4 doesn't pass `TestContainerStartOnDaemonRestart`.

Fix moby#41107
Replace moby#41115

Signed-off-by: Akihiro Suda <[email protected]>
This was referenced Jul 15, 2020
@AkihiroSuda AkihiroSuda added impact/changelog kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. labels Jul 15, 2020
@thaJeztah thaJeztah added the area/runtime Runtime label Jul 15, 2020
@thaJeztah thaJeztah added this to the 20.03.0 milestone Jul 15, 2020
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah
Copy link
Member

opened docker/docker-ce-packaging#480 as draft

Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/runtime Runtime impact/changelog kind/enhancement Enhancements are not bugs or new features but can improve usability or performance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cgroup1: use shim v2

3 participants