SWR Container Registry
SoftWare Repository for Container (SWR) allows you to easily manage the full lifecycle of container images and facilitates secure deployment of images for your applications.
There are three ways to upload an image.
- Through the GUI interface of the SWR service
- Generate a templorary login command and upload
- Obtaining a Long-Term Valid Login Command
Method 1
We can save a docker image use docker save
command, and then we can upload this tar file to SWR.
1 2 3 4 |
|
Method 2
The provisional certification is only valid for a few hours.
Method 3
Login the huaweicloud account > Identity and Access Management > Users > Security Settings > Access Keys > Create Access key
1 2 3 4 5 6 |
|
Obtaining a Long-Term Valid Login Command
Show a Demo
Install Docker
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
Generate a long-term password
Get the long-term password and login,then we can download image or build image push to SWR
Modify the tag and push the image
We can login the huaweicloud conosle for check
捐赠本站(Donate)
如您感觉文章有用,可扫码捐赠本站!(If the article useful, you can scan the QR code to donate))