Uploading an Image
After an organization is created, you can upload an image to it through the browser or client.
- Uploading an Image Through the Browser: Upload an image to SWR through the browser.
- Uploading an Image Through the Client: Upload an image to an image repository of SWR by running commands on the client.
Uploading an Image Through the Browser
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.
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 Basics of the Container Engine.
- The image package is created using Docker 1.11.2 or later.
Procedure
- Log in to ServiceStage and choose Software Center > Image Repository.
- On the My Images page, click Upload Through SWR.
- Click Upload Through SWR. In the dialog box that is displayed, specify Organization to which the image is to be uploaded, click Select File, and select the image file to be uploaded.
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 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.
Uploading an Image Through the Client
If you use the client to upload an image, each image layer cannot exceed 10 GB.
Prerequisites
- An organization has been created. For details, see Creating an Organization.
- Your container engine client version must be 1.11.2 or later.
Procedure
- Log in to ServiceStage and choose Software Center > Image Repository.
- On the My Images page, click Upload Through Docker Client.
- Upload the image as prompted.
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