8000 Remove version-checks for containerd and runc by thaJeztah · Pull Request #37968 · moby/moby · GitHub
[go: up one dir, main page]

Skip to content

Conversation

thaJeztah
Copy link
Member

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.

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>
Copy link
Member
@tianon tianon left a comment

Choose a reason for hiding this comment

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

LGTM! 🎉

@AkihiroSuda
Copy link
Member

I think we still need to make sure the installed containerd is v1.2 or later

@thaJeztah
Copy link
Member Author
thaJeztah commented Oct 5, 2018 via email

Copy link
Member
@vdemeester vdemeester 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 Author

FWIW; I tried to keep changes minimal here, as I'll cherry-pick this for 18.09.

I want to do follow-ups to;

  • Consider removing this check for the init binary as wel; I think that was in place because originally we shipped a custom init, and after that a custom version of tini.
  • Add containerd, runc, and perhaps tini / init to the Components array in the /version endpoint.
  • If we want to keep this information in docker info as well, perhaps deprecate these fields altogether, and add a new section for listing component versions (like what's in the /version endpoint); these fields are written to contain a git commit; given that this is just for informational purposes now, we should have something more "free form", showing a nice version-string of the components

@codecov
Copy link
codecov bot commented Oct 5, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@192ff56). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master   #37968   +/-   ##
=========================================
  Coverage          ?   36.12%           
=========================================
  Files             ?      610           
  Lines             ?    45143           
  Branches          ?        0           
=========================================
  Hits              ?    16310           
  Misses            ?    26597           
  Partials          ?     2236

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

Successfully merging this pull request may close these issues.

5 participants
0