Upgrade Docker daemon

Last Updated: Nov 23, 2017

Standard Docker daemon is installed on each server in the cluster for container management.

Note:

  • The cluster Docker daemon upgrade requires that the machine is able to access the public network to download necessary software packages.
  • The cluster Docker daemon upgrade might fail. To ensure your data security, we recommend that you back up snapshots before upgrading Docker daemon.
  • During the cluster Docker daemon upgrade, the services deployed on the cluster are interrupted and you cannot perform operations on the cluster and applications. Make appropriate arrangements before the upgrade. The upgrade lasts 3‒30 minutes. The cluster status is changed to Running after the upgrade.

Procedure

  1. Log on to the Container Service console.

  2. Click Clusters in the left-side navigation pane.

  3. On the Cluster List page, click Upgrade in the Docker Version column, or click More at the right of the cluster that you want to upgrade the Docker daemon and then select Upgrade Docker from the list.

    1

  4. On the Upgrade Docker page, click Upgrade Agent to upgrade the Agent first if your Agent is not in the latest version.

    If your Agent is in the latest version, upgrade Docker daemon in the following ways:

    • Upgrade Directly

      Click Upgrade Directly to enter the Docker Engine upgrade process.

    • Back up Snapshot before Upgrade

      We recommend that you back up the snapshots before upgrading Docker daemon. In this way, you can recover Docker daemon by using the snapshots if an error occurs during the upgrade process.

      Click Back up Snapshot before Upgrade, and then the system calls the Elastic Compute Service (ECS) Open API to take snapshots of the cluster nodes.

      Backing up snapshots might take some time. Wait until the snapshots are backed up, and then the system automatically enters the Docker Engine upgrade process.

      If the snapshots failed to be backed up, click Continue to enter the Docker Engine upgrade process, or click Quit to give up the upgrade.

    Return to the Cluster List page and you can see that the cluster you upgraded the Docker daemon is in the Docker-Engine is upgrading status. This might take a while as container data will be backed up during the upgrade of the Docker Engine.

Thank you! We've received your feedback.