Updated on 2023-07-14 GMT+08:00

Uploading an Image

After an organization is created, you can upload an image to it through the page or 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 (-).
  1. Log in to ServiceStage.
  2. Choose Deployment Source Management > Image Repository.
  3. On the Image Repository page, click Upload Through SWR.
  4. 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.

  5. 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.

Uploading an Image Through the Client

If you use the client to upload an image, each image layer cannot exceed 10 GB.

  1. Log in to ServiceStage.
  2. Choose Deployment Source Management > Image Repository.
  3. On the Image Repository page, click Upload Through Client.
  4. Upload the image as prompted.