Uploading an Image
After an organization is created, you can upload an image to it through the page or client.
- Uploading an Image Through the Page: Upload an image to SWR through the page.
- Uploading an Image Through the Client: Upload an image to an image repository of SWR by running commands on the client.
Container repositories are used to easily store, deploy, and manage Docker images.
Prerequisites
- An organization has been created. For details, see Creating an Organization.
- The image has been saved as a .tar or .tar.gz file. For details, see Creating an Image Package.
- The image package is created using Docker 1.11.2 or later.
- If the image is uploaded through a client, the version of the container engine client to which the image is uploaded must be 1.11.2 or later.
Uploading an Image Through the Page
- A maximum of 10 files can be uploaded at a time. The size of a single file (including the decompressed files) cannot exceed 2 GB.
- The file name should be a string starting with a letter or digit, containing 255 characters at most, and including letters, digits, underscores (_), and hyphens (-).
- Log in to ServiceStage.
- Choose Deployment Source Management > Image Repository.
- On the Image Repository page, click Upload Through SWR.
- In the displayed dialog box, specify Organization to which the image is to be uploaded, click Select File, and select the target image file.
If you select multiple images to upload, the system uploads them one by one. Concurrent upload is not supported.
- In the displayed dialog box, click Start Upload.
If Upload completed is displayed, the image is successfully uploaded.
If the image fails to be uploaded, the possible causes are as follows:
- The network is abnormal. In this case, check network connectivity.
- The HTTPS certificate has errors. Press F12 to copy the URL that fails to be requested to the address bar of the browser, open the URL again, agree to continue the access, and return to the upload page to upload the certificate again.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot