Help Center> Software Repository for Container> User Guide> Image Management> Configuring Automatic Image Synchronization Between Regions
Updated on 2024-05-09 GMT+08:00

Configuring Automatic Image Synchronization Between Regions

Scenario

You can configure newly pushed images to be automatically synchronized to image repositories in other regions.

After you configure automatic image synchronization, image updates will also be synchronized to target repositories. However, images that were pushed to repositories before automatic image synchronization was enabled will not be automatically synchronized.

For details on how to synchronize pushed images before you set the automatic synchronization, see Can Existing Images be Automatically Synchronized.

Notes and Constraints

  • Only accounts and users with administrator permissions can configure automatic image synchronization.
  • Currently, images can be synchronized only among the following regions: CN North-Beijing1, CN East-Shanghai1, CN East-Shanghai2, CN South-Guangzhou, CN Southwest-Guiyang1, CN North-Ulanqab1, CN-Hong Kong, AP-Singapore, AP-Bangkok, and AF-Johannesburg.

Procedure

  1. Log in to the SWR console.
  2. In the navigation pane, choose My Images and click the target image.
  3. On the image details page, click Set Auto Sync in the upper right.
  4. Click . Select a target region and a target organization. Click OK.

    • Target Region: The target region for image synchronization, for example, CN-Hong Kong.
    • Target Organization: The target organization to which the image will be synchronized.
    • Overwrite Existing Image:

      Select this option if you want any nonidentical image with the same name and same tag in the target organization to be overwritten.

      Deselect this option if you do not want any nonidentical images having the same name and tag in the target organization to be overwritten and you want to receive a notification of the existence of such images.

  1. On the Synchronization Records tab page of image details page, you can view the details of each synchronization task, including the start time, image tag, task status, type, and duration.