Skip to main content

Docker Compose 5.8.0

Release Date: November 17, 2026

Docker Compose 5.8.0 landed on November 17, 2026. The centerpiece is jobs: scheduled, daemon-managed workloads declared right in the Compose file.

🗓️ Jobs Jump In

A job is a one-shot unit of work declared under a top-level jobs element. It can run on demand or on a cron schedule, and the daemon fires it on its own clock.

services:
  db:
    image: postgres
jobs:
  backup:
    image: backup-tool
    depends_on: [db]
    triggers:
      schedule:
        - cron: "0 3 * * *"

The mechanics are compact. Bringing a project up with the create or up subcommand registers scheduled jobs with the engine, and the opposing subcommand removes them again. Running a single job by name triggers it right away, starts its dependencies first, streams logs, and returns the job exit code.

🔧 Requirements Rundown

  • Engine first: scheduling needs Docker Engine 29.10 or later with the jobs extension enabled. The extension is off by default, so the daemon must be started with dockerd --extension-enable org.mobyproject.jobs.v0.
  • Manual jobs travel light: one-shot jobs keep working on any engine, so the feature degrades rather than disappears.
  • Nothing declared, nothing changed: projects without a jobs section behave exactly as before.
  • Fail fast: on an engine without jobs support, the up path refuses a project containing scheduled jobs before creating anything. On the same engine, a single-job run falls back to a one-off service with a warning, matching the old behavior.

🧯 Cautions to Carry

Refusing to bring up a project on older engines is the safe choice, but it turns a missing extension into a hard stop for anyone who deploys scheduled jobs to a mixed fleet. Pin your engine version before you commit a jobs block to a shared Compose file.

⬆️ Upgrade Advice

Grab 5.8.0 through your usual package path, confirm the engine version, then enable the extension only where scheduling is actually needed. Upgrade without delay, but stage the jobs rollout.

Other Versions

We use cookies for ads and analytics.