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

[Proposal] Add docker engine upgrade document in swarm mode cluster #33869

BSWANG opened this Issue Jun 29, 2017 · 1 comment


None yet
2 participants
Copy link

BSWANG commented Jun 29, 2017


Since docker 17.06.0-ce have been released. How to upgrade swarm mode cluster' docker engine? Upgrade starting from worker or manager? And how to ensure the cluster raft store state.


This comment has been minimized.

Copy link

thaJeztah commented Jun 29, 2017

Yes, this is something that needs more documentation; I see there's an issue tracking this in the docs repository docker/, perhaps you can add a comment there?

The recommended approach is to first upgrade manager nodes (one at a time, so that you don't loose quorum); after manager nodes are upgraded, upgrade your worker nodes.

Depending on your situation, you may want to drain nodes before upgrading (docker node update --availability=drain ..), which will stop the tasks on that node, and re-deploy them to another node in the cluster (assuming there's enough resources to deploy the tasks elsewhere). After upgrading, you can make the node available again (--availability=active)

I'll close the issue here, because docker/ is tracking this, and this is a documentation issue, but feel free to comment after I closed

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