Mirroring images to a private container registry (Upgrading from Version 4.5 to Version 4.6)

If you mirrored the images for IBM Cloud Pak® for Data Version 4.5 to a private container registry, you must mirror the images for Version 4.6 to the private container registry before you upgrade your installation.

Upgrade phase
You are not here. Setting up a client workstation
You are not here. Collecting required information
You are here icon. Preparing your cluster
You are not here. Upgrading the Cloud Pak for Data platform and services
Who needs to complete this task?
A cluster administrator and private container registry administrator must work together to mirror images to the private container registry.
When do you need to complete this task?
If you use a private container registry, you must complete this task.

If you pull images directly from the IBM® Entitled Registry, skip this task.

Before you begin

Ensure that your private container registry meets the Private container registry requirements.

About this task

There are several ways that you can mirror images from the IBM Entitled Registry to your private container registry. Choose the most appropriate method for your environment by answering the following question:

Can you set up a client workstation that can connect to the internet and the private container registry?

Yes
You can mirror the images directly from the IBM Entitled Registry to the private container registry.
No, the private container registry is in a restricted network
You must mirror the images to an intermediary container registry before you can mirror the images to the private container registry.
The cpd-cli manage mirror-images command automatically sets up an intermediary container registry on the client workstation. You must be able to move the intermediary container registry behind your firewall. For example, you can use:
Options Details
Use a portable compute device, such as a laptop, that you can move behind your firewall.
You can use the same device to:
  • Mirror images from the IBM Entitled Registry to the intermediary container registry.
  • Mirror images from the intermediary container registry to the private container registry.
Use a portable storage device, such as a USB drive, that you can move behind your firewall.
You must set up two client workstations:
  • A workstation that can connect to the internet. From this workstation, you can mirror the images from the IBM Entitled Registry to the intermediary container registry on the portable storage device.
  • A workstation that can connect to the private container registry. After you move the portable storage device to this workstation, you can mirror the images from the intermediary container registry to the private container registry.
Use a file transfer protocol, such as scp or sftp, to move images behind your firewall.
You must set up two client workstations:
  • A workstation that can connect to the internet. From this workstation, you can mirror the images from the IBM Entitled Registry to the intermediary container registry.
  • A workstation that can connect to the private container registry. After you transfer the intermediary container registry to this workstation, you can mirror the images from the intermediary container registry to the private container registry.

Procedure

Complete the appropriate task to mirror images to your private container registry: