Help Center/ Software Repository for Container/ FAQs/ Other FAQs/ Can I Pull Images on the SWR Console to a Local PC?
Updated on 2024-10-21 GMT+08:00

Can I Pull Images on the SWR Console to a Local PC?

Images stored in SWR cannot be directly downloaded through the console. You can perform the following operations to pull the images:

  1. Obtain the image pull command on the image details page.
  2. Run the obtained command on the device where the Docker client is installed.

    Example:

    docker pull swr.ap-southeast-1.myhuaweicloud.com/group/nginx:v1

  3. Save the image as a TAR or TAR.GZ file.

    Example:

    docker save nginx:v1 > nginx.tar

  4. Download the file to the local host.