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.
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.Restriction: IBM Cloud Pak® patterns do not support
updates that are based on the newer version of Docker Registry pattern.
Procedure
- Click .
- Select the instance that includes the Docker container with
the Docker image that
you want to update.
- Click Manage.
- Click Operations.
- Select DockerContainer.
- Expand the Update image section.
- 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.
- 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.