Updated on 2024-08-08 GMT+08:00
How Can I Log In to SWR and Upload Images to It?
This section describes how to log in to SWR and upload images to it.
Step 1 Log In to SWR
- Log in to the SWR console and select the target region.
- Click Create Organization in the upper right corner and enter an organization name to create an organization. deep-learning is used as an example. Replace it in subsequent commands with the actual organization name.
- Click Generate Login Command in the upper right corner to obtain a login command.
- Log in to the ECS as user root and enter the login command.
Figure 1 Login command executed on the ECS
Step 2 Upload Images to SWR
This section describes how to upload an image to SWR.
- Log in to SWR and tag the image to be uploaded. Replace the organization name deep-learning in the following command with the actual organization name obtained in step 1.
sudo docker tag tf-1.13.2:latest swr.example.com/deep-learning/tf-1.13.2:latest
- Run the following command to upload the image:
sudo docker push swr.example.com/deep-learning/tf-1.13.2:latest
Figure 2 Uploading an image
- After the image is uploaded, choose My Images in navigation pane on the left of the SWR console to view the uploaded custom images.
swr.example.com/deep-learning/tf-1.13.2:latest is the SWR_URL of the custom image.
Parent topic: FAQs
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