docker_compose
Manage and control Docker Compose services using actions like up, down, build, logs, and exec. Specify service targets, compose files, and configurable options for efficient container orchestration.
Instructions
Manage Docker Compose services
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Docker Compose action to perform | |
build | No | Build images before starting (for up action) | |
command | No | Command to execute (for exec action) | |
detach | No | Run in background (for up action) | |
file | No | Docker Compose file path (default: docker-compose.yml) | |
follow | No | Follow log output (for logs action) | |
force_recreate | No | Force recreate containers | |
project_name | No | Project name for compose stack | |
remove_orphans | No | Remove containers for services not defined in compose file | |
service | No | Specific service to target | |
tail | No | Number of lines to show from end of logs |