Skip to content
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

Version of docker-ce should be pinned to prevent incompatible upgrades #2

Closed
eliasp opened this issue Jan 26, 2018 · 1 comment
Closed

Comments

@eliasp
Copy link
Contributor

eliasp commented Jan 26, 2018

apt list --upgradable on a newly created node shows:

docker-ce/xenial 17.12.0~ce-0~ubuntu amd64 [upgradable from: 17.03.2~ce-0~ubuntu-xenial]

This would upgrade docker-ce to 17.12.* which is not compatible with current K8S releases.
This can be prevented by creating /etc/apt/preferences.d/docker-ce:

Package: docker-ce
Pin: version 17.03.*
Pin-Priority: 1000

References regarding supported versions:

@eliasp
Copy link
Contributor Author

eliasp commented Jan 26, 2018

Once the version is pinned, the apt-cache/grep workaround won't be needed anymore and a simple apt install -y docker-ce will install the correct docker-ce release.

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

No branches or pull requests

1 participant