sincecutoff.com
← all changes

docker compose run executes manually triggered jobs

Introduced 2026-10-02 · score 0.98

HOW TO USE IT

When you need to trigger a manually triggered job declared in the Compose project, run `docker compose run <job>`; v5.6.0 supports manual jobs, while scheduled jobs are not yet available.

docker compose run <job>
docker compose run [OPTIONS] SERVICE [COMMAND] [ARGS...]

WHY THIS HELPS

Run a manually triggered job declared in a Compose project.

REQUIREMENTS AND LIMITATIONS

  • Version: v5.6.0
  • Availability: Partial support for jobs: only manually-triggered jobs are supported; scheduled jobs are not yet available. Full job support will land once the corresponding Docker Engine support is merged.
  • SERVICE / <job> (required): Compose service or job to run.
  • [COMMAND] [ARGS...]: Optional command and arguments; the command overrides the configured service command.
  • Prerequisite: Use Docker Compose v5.6.0 or later for the documented manual-job support; scheduled jobs are not available in this release.
  • `up` warns about declared jobs and points to `docker compose run` to trigger them.
  • `up` fails on active (profile-enabled) scheduled jobs with `scheduled jobs are not supported in this version`.
  • Only manually triggered jobs are supported; scheduled jobs are not yet available.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card