ExecuteImage
Call the ExecuteImage extension to download public images from SWR to a custom executor and start the images.
Adding the Extension with GUI
Add the ExecuteImage extension when you orchestrate a pipeline. Set parameters as shown in Table 1.
Parameter |
Description |
---|---|
Name |
Extension name.
|
Image Attribute |
Only public images are supported. |
SWR Image Address |
Address of the SWR images to be downloaded. To obtain the address:
|
Startup Command |
Container startup command. Enter Docker commands to run specific applications or scripts in the container. |
Adding the Extension with YAML
Add the ExecuteImage extension when you orchestrate a pipeline. Configure the YAML syntax as follows:
- ExecuteImage
uses: official_docker_executor with: attribute: public image: swr.example.com/demo/springboot-helloworld:v1.1 command: sh start.sh
- attribute: Image attribute.
- image: SWR image address.
- command: Container startup command.
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