All apps/docker-compose

docker-compose

docker-compose

Define and run multi-container applications (Compose v1 command).

Runs as docker-compose|macOS, Linux, Windows|docs.docker.com

Command form

ai-draft · 4 tasks · 20 fields

Common jobs: start, stop, build and read logs for a Compose project. Run in the project directory.

Opens the form; the finished command lands at your prompt, unrun
otty gui docker-compose
Docker ComposeExample values, fixed in this page — nothing here reaches a terminal
Basic
Compose file
file
Project name
string
ParametersOnly these flags are editable in the form
Compose file
path · repeatable
--file-f
Project name
string
--project-name-p

docker-compose up

Create and start containers
Create and start containersExample values, fixed in this page — nothing here reaches a terminal
Basic
Services
string
Run in the background
--detach
Build images first
--build
TasksEach one presets the form for one job
Start in the background
servicesdetachbuild
ParametersOnly these flags are editable in the form
Services
string · positional 0 · repeatable
Run in the background
boolean
--detach-d
Build images first
boolean
--build
Recreate containers
boolean
--force-recreate
Remove orphan containers
boolean
--remove-orphans
Wait until running or healthy
boolean
--wait

docker-compose down

Stop and remove containers and networks
Stop and remove containers and networksExample values, fixed in this page — nothing here reaches a terminal
Basic
Remove orphan containers
--remove-orphans
Shutdown timeout (seconds)
integer
TasksEach one presets the form for one job
Stop the project
remove_orphanstimeout
ParametersOnly these flags are editable in the form
Also remove volumes
boolean
--volumes-v
Remove orphan containers
boolean
--remove-orphans
Shutdown timeout (seconds)
integer
--timeout-t

docker-compose logs

View container logs
View container logsExample values, fixed in this page — nothing here reaches a terminal
Basic
Services
string
Follow output
--follow
Lines from the end
100string
Show timestamps
--timestamps
TasksEach one presets the form for one job
Follow recent logs
servicesfollowtailtimestamps
ParametersOnly these flags are editable in the form
Services
string · positional 0 · repeatable
Follow output
boolean
--follow-f
Lines from the end
string
--tailall100
Show timestamps
boolean
--timestamps-t
Since (timestamp or 42m)
string
--since

docker-compose build

Build or rebuild services
Build or rebuild servicesExample values, fixed in this page — nothing here reaches a terminal
Basic
Services
string
Do not use cache
--no-cache
Always pull newer base images
--pull
TasksEach one presets the form for one job
Clean rebuild
servicesno_cachepull
ParametersOnly these flags are editable in the form
Services
string · positional 0 · repeatable
Do not use cache
boolean
--no-cache
Always pull newer base images
boolean
--pull
Build argument (KEY=value)
string · repeatable
--build-arg
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed docker-compose against its version. A form that does not match your version is not offered.