Updating Docker images in virtual system instances

If an update to a Docker image in a virtual system instance is available, you can apply the update from the Instance Console.

Before you begin

Ensure that the updated Docker image is available in the Docker registry. Depending on the system's configuration, the Docker registry is either the Docker Hub or a private Docker registry that runs on Cloud Pak System Software.

About this task

When you apply an updated image to an existing virtual system instance, the system shuts down the current Docker container and starts it again with the updated Docker image. This process uses rolling updates. If there are multiple Docker containers that are based on the image that you specify to update in the instance, the Docker containers are divided into two groups. While one group is being updated, the Docker containers in the other group are running to prevent service loss.

Procedure

  1. Click Patterns > Virtual System Instances.
  2. Select the instance that includes the Docker container with the Docker image that you want to update.
  3. Click Manage.
  4. Click Operations.
  5. Select DockerContainer.
  6. Expand the Update image section.
  7. Select the Docker image that you want to use for update from the Updatable images field.
    Note: If no Docker images are listed, no images are available for update for the selected Docker container.
  8. Click Submit.

Results

The update is applied by using a rolling method. You can monitor the results in the Operation Execution Results section of the page.