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. Images are classified as public or private.
You can use Docker or containerd to pull images from SWR.
next to the docker pull command on the Pull/Push tab.Run the docker images command to check whether the images are successfully pulled.
# docker imagesREPOSITORY TAG IMAGE ID CREATED SIZExxx/group/nginx v2.0.0 22f2bf2e2b4f 5 hours ago 22.8MB
docker save [Image name:tag name] > [Archive file name]
The command is only valid for six hours after it is generated. For details about how to obtain a long-term download command, see Obtaining a Long-Term Login or Image Pull/Push Command.



