Upgrading Docker¶
A node is a physical or virtual machine with Docker installed. The nodes should contains one or more units (containers).
Sometimes will be necessary to upgrade the Docker. It is recommended that you use the latest Docker version.
The simple way to do it is just upgrade Docker. You can do it following the official guide.
This operation can cause some period of downtime in an application.
How to upgrade Docker with no application downtime¶
Note
You should use this guide to upgrade the entire host (a new version of the Linux distro, for instance) or Docker itself.
A way to upgrade with no downtime is to move all containers from the node that you want to upgrade to another node, upgrade the node and then move the containers back.
You can do it using the command tsuru containers-move:
$ tsuru containers-move <from host> <to host>