Upgrading Docker

A node is a physical or virtual machine with Dockerinstalled. The nodes should contains one or more units (containers).

Sometimes will be necessary to upgrade the Docker. It is recommended that youuse the latest Docker version.

The simple way to do it is just upgrade Docker. You can do it following theofficial 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 theLinux distro, for instance) or Docker itself.

A way to upgrade with no downtime is to move all containers from the node thatyou want to upgrade to another node, upgrade the node and then move thecontainers back.

You can do it using the command tsuru containers-move:

  1. $ tsuru containers-move <from host> <to host>

原文: https://docs.tsuru.io/1.6/managing/upgrading-docker.html