Updated on 2022-03-22 GMT+08:00
Pulling an Image
Scenario
You can run the docker pull command to pull images from SWR.
Procedure
- Log in to the VM running the container engine as the root user.
- Obtain a login command by referring to Step 1 and access SWR.
- Log in to the SWR console.
- In the navigation pane, choose My Images and click the target image.
- On the Image Tags tab page, in the same row as the target image tag, click in the Image Pull Command column to copy the command.
Figure 1 Obtaining the image pull command
- Run the image pull command obtained in Step 5 on the VM.
Run the docker images command to check whether the images are successfully pulled.
# docker images REPOSITORY TAG IMAGE ID CREATED SIZE xxx/group/nginx v2.0.0 22f2bf2e2b4f 5 hours ago 22.8MB
- (Optional) Run the following command to save the image as an archive file:
docker save [Image name:tag name] > [Archive file name]
Parent topic: Image Management
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot