Running Docker Commands to Operating Images
Graphical Build
Add Run Docker Commands, when configuring build actions.
The parameters are described in the following table.
| Parameter | Description |
|---|---|
| Action Name | Name of a build action. It can be customized. |
| Tool Version | Select a tool version. |
| Commands | Click Add to add a command, and configure the command as required. View the Docker Docs. |
Code-based Build
1 2 3 4 5 6 7 | version: 2.0 # The value must be 2.0. steps: BUILD: - docker: inputs: command: | docker pull swr.xx-xxxxx-x.myxxcloud.com/codeci/dockerindocker:dockerindocker18.09-1.3.2 |
| Parameter | Type | Description | Mandatory | Default Value |
|---|---|---|---|---|
| command | String | Each command takes up one line. Supported docker commands: build, tag, push, pull, login, logout, and save. | Yes | None |
What is your overall rating for this page?
Thank 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