Docker Compose 5.8.0 Adds Scheduled Jobs, Running Cron Triggers Inside the Docker Engine
Compose v5.8.0 lets a top-level jobs: element run on a cron schedule that Docker Engine fires itself, finishing work v5.6.0 began six weeks earlier with manual-only jobs.
Overview
Docker Compose v5.8.0, released on November 17, 2026, adds scheduled jobs, letting a Compose file declare recurring work such as a nightly database backup and have Docker Engine itself run it on a cron schedule, according to the release notes. The notes describe the headline change plainly: “Scheduled jobs are now supported. A job is a one-shot unit of work declared in the top-level jobs: element of your Compose file, run on demand or on a schedule.”
What a job is
A job sits alongside a Compose file’s services: block but is not itself a long-running service. Docker’s documentation describes it as a one-shot task, “such as database migrations and backups,” that can be triggered by hand or placed on a schedule, with Docker Engine recording “each execution with its state and exit code,” according to Docker’s own documentation. Running a job with docker compose run returns an exit code describing the outcome: 0 for success, the container’s own exit code on failure, 1 if the container never started, 124 if the run timed out, and 130 if it was canceled, per the same documentation.
What’s new in 5.8.0
Scheduling a job requires Docker Engine 29.10 or later with a jobs extension that ships off by default, enabled with dockerd --extension-enable org.mobyproject.jobs.v0 or an equivalent daemon.json entry, according to both the release notes and Docker’s documentation. With the extension on, docker compose up or docker compose create registers any job carrying a schedule trigger with Docker Engine, which then fires it on its own clock independent of whether the Compose command is still running; docker compose down removes the registration. On an engine without the extension enabled, up refuses to start a project that declares a scheduled job at all, the release notes say.
A cron trigger uses a standard five-field expression — minute, hour, day of month, month, and day of week — evaluated in UTC unless a timezone is set, according to Docker’s documentation. Two further schedule settings cover edge cases: concurrency: forbid, the default, skips a new run if the previous one from the same job is still in progress, and missed_fires: one triggers a catch-up run if the Engine was stopped at the scheduled time, so a nightly backup still happens once the Engine restarts. Docker also caps how much history it keeps for a scheduled job, retaining “the five most recent runs, rather than the Docker Engine default of 10 000,” per the documentation. Registered jobs are immutable: changing a scheduled job’s definition requires running docker compose down and up again to re-register it.
Where this started
Compose first introduced the jobs: element six weeks earlier, in v5.6.0 on October 2, but that release supported only manual triggers; the release notes said plainly that it added “partial support for jobs: only manually-triggered jobs are supported for now, scheduled jobs are not yet available.” In the interim, an independent test of that release found the limitation went beyond simply lacking a scheduler. According to a DEV Community write-up by developer Alex Georgiev, declaring a job with a schedule trigger in v5.6.0 caused the entire docker compose up command to fail outright — not just skip the unsupported job, but refuse to start any service in the file, including ones unrelated to the job. Georgiev wrote that in that release, “a job with a schedule trigger makes up refuse to run at all,” and that “nothing starts, not even the unrelated db service” in his test file. Compose’s v5.8.0 registration model replaces that outright failure: on an engine with the jobs extension enabled, up now registers the schedule instead of refusing the whole project.
What we don’t know
Docker’s documentation marks jobs as experimental, warning that “the Compose file syntax and the behavior of jobs might change between releases.” Neither the release notes nor the documentation describe adoption numbers, and no independent benchmark of the scheduling feature itself in v5.8.0 was found among the sources reviewed for this article.