- What's New
- Function Overview
- Service Overview
- Getting Started
-
User Guide
- Overview
- Permissions Management
- Basics of Docker
-
Image Management
- Pushing an Image Through a Container Engine Client
- Obtaining a Long-Term Valid Docker Login Command
- Obtaining a Long-Term Valid containerd Pull/Push Command
- Uploading an Image Through the SWR Console
- Pulling an Image
- Setting Image Attributes
- Sharing Private Images
- Adding a Trigger
- Adding an Image Retention Policy
- Image Center
- Organization Management
- User Permissions
- Auditing
- Best Practices
-
API Reference
- Before You Start
- API Overview
- Calling APIs
-
API
- Organization Management
- Image Repository Management
- Image Tag Management
- Shared Account Management
- API Versions
- Organization Permission Management
- Image Permission Management
- Automatic Image Synchronization Task Management
- Trigger Management
- Image Retention Policy Management
- Temporary Login Command
- Quota Management
- Example Applications
- Appendixes
- Change History
- FAQs
- Videos
- SDK Reference
Show all
Function Overview
-
Uploading an Image Through a Container Engine Client
-
Scenario
If your container engine client is an ECS or CCE node, you can push an image over two types of networks.
- If your client and the image repository are in the same region, you can push an image over private networks.
- If your client and the image repository are in different regions, you can push an image over public networks and the client needs to be bound to an EIP.
Notes and Constraints- Each image layer uploaded through the client cannot exceed 10 GB.
- Your container engine client version must be 1.11.2 or later.
Supported regions: EU-Dublin
-
-
Obtaining a Long-Term Valid Login Command
-
The user has the programmatic access permission. If the user does not have the permission, log in to IAM as the administrator and grant the user the programmatic access permission.
-
-
Uploading an Image Through SWR Console
-
- 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 image package is created using container engine 1.11.2 or later.
Supported regions: EU-Dublin
-
-
Pulling an Image
-
You can run the docker pull command to pull images from SWR.
-
-
Sharing a Private Image
-
You can share your private images with other users and grant the users permissions to pull the images.
The user with whom you shared the image can then log in to the SWR console to view the image by choosing My Images > Shared Images. On the tab page, the user can click the target image to check its detailed information, including the image tag and image pull command.
Supported regions: EU-Dublin
-
-
Adding a Trigger
-
SWR works with Cloud Container Engine (CCE) to enable automatic application updates. This could be realized by adding a trigger to the desired images.
Supported regions: EU-Dublin
-
-
Organization Management
-
Organizations enable efficient management of images. Organizations are used to isolate image repositories. With each organization being limited to one company or department, images can be managed in a centralized and efficient manner. An image name needs to be unique within an organization.
You can grant different permissions, namely, read, write, and manage, to users created by the same account. For details, see User Permissions.
Supported regions: EU-Dublin
-
-
User Permissions
-
To manage SWR permissions, you can use Identity and Access Management (IAM). If you have the SWR Admin or Tenant Administrator permission, you become an admin user of SWR accounts. You can grant permissions to other IAM users in SWR.
If you are not an SWR account admin user, you can request an SWR account admin user to grant you permissions to read, write, or manage a specific image or images in a specific organization.
Supported regions: EU-Dublin
-
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.