Docker Compose: Support to Build, Up, Down, Start, Stop Docker Compose Functions
Disclaimer
Your use of this download is governed by Stonebranch's Terms of Use.
Overview
The Universal Task can automate the following Docker Compose functions:
- Build
- Up
- Down
- Start
- Stop
Example Output


Universal Task Details Fields
Docker Function = Build

Field Label | Description | Example |
|---|---|---|
Compose File | Universal Controller Script (Type = Data) that contains the required compose file YAML statements | |
Project Name | Docker Compose Project Name | myproject |
Service Name | Optional Service Name as defined in the Compose File | myservice |
Force | Always remove intermediate containers, even after unsuccessful builds | |
Compress | Compress the build context using gzip | |
Pull | Always attempt to pull a newer version of the base image | |
No Cache | Do not use Cache when building the image | |
Build Arguments | Specify any build arguments | |
Logging Level | Controls messages issues from the Universal Task:
| None |
Runtime Directory | Will be used as the build context | /docker/builds/myimage |
Docker Function = Up

Field Label | Description | Example |
|---|---|---|
Compose File | Universal Controller Script (Type = Data) that contains the required compose file YAML statements | |
Project Name | Docker Compose Project Name | myproject |
Service Name | Optional Service Name as defined in the Compose File | myservice |
Detach | Run Project / Service in background | |
Logging Level | Controls messages issues from the Universal Task:
| None |
Docker Function = Down

Field Label | Description | Example |
|---|---|---|
Compose File | Universal Controller Script (Type = Data) that contains the required compose file YAML statements | |
Project Name | Docker Compose Project Name | myproject |
Timeout | Specify a shutdown timeout in seconds (default: 10) | 25 |
Logging Level | Controls messages issues from the Universal Task:
| None |
Docker Function = Start

Field Label | Description | Example |
|---|---|---|
Compose File | Universal Controller Script (Type = Data) that contains the required compose file YAML statements | |
Project Name | Docker Compose Project Name | myproject |
Service Name | Optional Service Name as defined in the Compose File | myservice |
Logging Level | Controls messages issues from the Universal Task:
| None |
Docker Function = Stop

Field Label | Description | Example |
|---|---|---|
Compose File | Universal Controller Script (Type = Data) that contains the required compose file YAML statements | |
Project Name | Docker Compose Project Name | myproject |
Service Name | Optional Service Name as defined in the Compose File | myservice |
Timeout | Specify a shutdown timeout in seconds (default: 10) | 25 |
Logging Level | Controls messages issues from the Universal Task:
| None |