Skip to main content
If the business images are stored in an external repository, you can first connect the repository and then create a pull rule to import matching images into a project in the target region. Before importing, confirm the repository path and tag range of the external images, as well as the target project, to avoid importing unnecessary versions. Images can be imported from the following four types of registries:
  • Docker Registry
  • Docker Hub
  • Google GCR
  • Quay

Pre-Action Confirmation

  • A project in the target Region has been prepared to receive the image.
  • The access URL for the external repository has been obtained. If the repository requires authentication, the corresponding credentials have also been obtained.

Integrating External Repositories

  1. Log in to the GPU Cloud console.
  2. Go to STORAGE > Registry and select the target region.
  3. Open the Replication tab.
  4. Click to expand the Registry Endpoints section, then click Add Endpoint. Registry Endpoints Region
  5. Enter the external repository connection information.
  6. Click Confirm. Upon submission, the URL and credentials are validated. If the endpoint is unavailable, first check the external repository address, network connectivity, username, and password, then create an import rule. When synchronizing images across GPU Cloud regions, no external repository endpoint needs to be added.

Create Synchronization Rule

  1. On the Replication tab, click Create Replication Rule.
  2. On the Create Sync Rule page, Configure the synchronization rule. Basic information: Source Registry: Destination Registry: Synchronization rules:
  3. Submit the rule and verify that the new rule appears in the rule list. When using manual triggering, you also need to synchronize the rule once.

Confirm Import Results

View the execution records for the corresponding rule on the Replication tab.
  • If any tasks fail, view the task logs and focus on checking the external repository connection, image path, label matching, and target project.
  • After successful execution, switch to the Projects tab in the target region and confirm that the image has been added to the expected project.
If you need to distribute images from the current region to other repositories, see Synchronize Images to Other Regions or Repositories.