-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Remove version-checks for containerd and runc #37968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
With containerd reaching 1.0, the runtime now has a stable API, so there's no need to do a check if the installed version matches the expected version. Current versions of Docker now also package containerd and runc separately, and can be _updated_ separately. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🎉
I think we still need to make sure the installed containerd is v1.2 or later |
The current code is only used to show if there's a mismatch (in the "docker info" output); there's no actual code to enforce the version.
If we need a version-check for 1.2.x, I guess we need to add that elsewhere (perhaps during startup of the daemon)
(version check can also be done in packaging probably)
… On 5 Oct 2018, at 01:49, Akihiro Suda ***@***.***> wrote:
I think we still need to make sure the installed containerd is v1.2 or later
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🐯
FWIW; I tried to keep changes minimal here, as I'll cherry-pick this for 18.09. I want to do follow-ups to;
|
Codecov Report
@@ Coverage Diff @@
## master #37968 +/- ##
=========================================
Coverage ? 36.12%
=========================================
Files ? 610
Lines ? 45143
Branches ? 0
=========================================
Hits ? 16310
Misses ? 26597
Partials ? 2236 |
With containerd reaching 1.0, the runtime now has a stable API, so there's no need to do a check if the installed version matches the expected version.
Current versions of Docker now also package containerd and runc separately, and can be updated separately.