Help Center> SoftWare Repository for Container> User Guide> Image Management> Configuring Automatic Image Synchronization Between Regions

Configuring Automatic Image Synchronization Between Regions

Newly pushed images can 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 pushed to repositories before automatic image synchronization was enabled will not be automatically synchronized.

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

Constraints

Only accounts and users with administrator permissions can configure automatic image synchronization.

Currently, automatic image synchronization is only supported for CN North-Beijing1, CN North-Beijing4, CN East-Shanghai1, CN East-Shanghai2, CN South-Guangzhou, CN-Hong Kong, and AP-Singapore.

Procedure

  1. Log in to the SWR console.
  2. In the navigation pane, choose My Images and click the image you wish to keep synchronized.
  3. On the image details page, click Synchronize Image in the upper right corner. Add the target region and organization. Then click OK.

    Figure 1 Configuring automatic image synchronization
    • Target Region: The target region in image synchronization, for example, CN South-Guangzhou.
    • Target Organization: The target organization to which images are synchronized.
    • Overwrite Existing Image: Selecting this option indicates that any unidentical images having the same name in the target organization will be overwritten. Deselecting this option indicates that any unidentical images having the same name in the target organization will not be overwritten, and you will be notified their existence.

  1. On the Synchronization Records tab page of image details page, you can view the details of each synchronization task, such as the start time, image tag, task status, type, duration, target region and organization, and task operator.