Using YAML to Run Docker Commands
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 |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.