Updated on 2025-09-19 GMT+08:00

Pulling an Image Artifact to a Local Host

Scenarios

To use an image stored in a repository, you need to pull (or download) it from the repository first. Then, you can use the image to deploy containerized applications in CCE or CCI.

Images are either public or private. If the namespace is public, all images in the namespace are public. If the namespace is private, all images in the namespace are private. Public and private images are different in the following aspects:

You can use Docker or containerd to pull images from SWR.

Prerequisites

  • Your network is normal.
  • You have prepared a container engine client, which can be used within the network access range defined in Access Control.

Constraints

If a Docker container engine client is used to pull images, the Docker version is 18.06 or later.

Procedure

You can refer to the following operations to pull image using a Docker or containerd container engine client.