Updated on 2025-04-30 GMT+08:00

Target Registries

Adding a Target Registry

  1. Log in to the SWR console. In the upper left corner, switch to your region. Click a repository name to go to its details page.
  2. In the navigation pane, choose Image Replication > Target Registries.
  3. In the upper right corner, click Add Target Registry.

    Table 1 Parameter description

    Parameter

    Description

    Example

    Registry Name

    Target registry name.

    remote-registry

    Provider

    Location of the target registry. The value can be:

    • SWR: SWR Shared Edition
    • SWR Enterprise Edition: Huawei Cloud indicates SWR Enterprise Edition in another region and Other indicates other registry provider.
    • Harbor: the image repository built using Harbor

    SWR Enterprise Edition

    Registry Address

    Target registry address.

    swr.cn-east-3.myhuaweicloud.com

    Access ID

    Access Password

    ID and password used to access the target registry.

    The ID and password are the user name and password in the docker login command.

    -

    Verify Remote Certificate

    If you select this option, the system will check whether the remote certificate is released by an authorized organization. If you do not, it will not be checked.

    -

    Region

    Region of the target registry. This parameter is available when the provider is SWR Enterprise Edition.

    CN East-Shanghai1

    Project

    Project of the target registry. This parameter is available when the provider is SWR Enterprise Edition.

    CN East-Shanghai1

    Registry

    Repository name. This parameter is available when the provider is SWR Enterprise Edition.

    -

    Hosts

    The backend can only resolve the public domain name of the current region. If other domain names are used, such as domain names of registries or OBS buckets, you need to configure Hosts.

    -

    Description

    Describe the target registry.

    -

    Figure 1 Adding a target registry

  4. Click OK.

    You can check the health status in the target registry list and modify target registries.