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

Pulling an Image

Scenarios

To use an image stored in a repository, you need to pull it from the repository first. Then, you can use this image to deploy containerized applications in CCE or CCI. Pulling an image is actually downloading an image.

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

Prerequisites

  • Your network is normal.
  • If you are an IAM user, you have obtained the read and edit permissions on images in the organization from the administrator. For details, see Granting Permissions.
  • On the My Images page, Private Images list your own images in your organization and Shared Images list private images shared by other users in the organization.

Pulling My Image

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

Pulling an Image from the Image Center

You can pull an image from the Image Center without specifying a registry address. For example, you can connect the VM running the container engine to SWR and run the following command to pull the mongo image easily:

docker pull mongo:4.1

Figure 2 mongo image details