mirror of
https://github.com/docker/compose.git
synced 2026-11-17 13:45:39 +00:00
`docker compose run <job>` triggers a run of the job on the engine, starts its dependencies first, streams its logs and returns its exit code like a one-off service; a job accepts manual triggering unless it declares manual: false. A scheduled job runs as up registered it: an override, or a job up never registered, is refused. A manual job is removed from the engine after its run, so the next run can differ. When the engine cannot run jobs, run falls back to a one-off service with a warning. --detach is refused, an interrupted run is cancelled, a dry run only reports it. A job named by create, start, build, pull or push gets an error naming run instead. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Guillaume Lours <glours@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| mock_docker_api.go | ||
| mock_docker_cli.go | ||
| mock_docker_compose_api.go | ||