현재 최신 버전입니다. · 출시일:
설치 파일 5.8.0
| 아키텍처 | 형식 | 설치 범위 | 파일 크기 | 다운로드 | SHA256 |
|---|---|---|---|---|---|
| 64비트 | 포터블 | — | — | github.com | VirusTotal |
| ARM64 | 포터블 | — | — | github.com | VirusTotal |
링크와 SHA256은 Windows 패키지 관리자 커뮤니티 매니페스트에서 가져왔습니다. 실행하기 전에 다운로드한 파일의 해시를 비교해 보십시오.
릴리스 노트
## What's Changed
> ℹ️ **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.
Scheduling needs **Docker Engine 29.10 or later with the jobs extension enabled** (it is off by default:`dockerd --extension-enable org.mobyproject.jobs.v0`). Manual jobs keep working on any engine, and projects that declare no jobs are unaffected.
```yaml
services:
db:
image:postgres
jobs:
backup:
image:backup-tool
depends_on:[db]
triggers:
schedule:
• cron:"0 3 * * *"
```
> * `docker compose up` (or `create`) registers the scheduled jobs with the engine, which fires them on its own clock; `docker compose down` removes them. On an engine without jobs support, `up` refuses a project with scheduled jobs before creating anything.
> * `docker compose run backup` triggers a job right away:its dependencies start first, its logs are streamed and its exit code is returned. On an engine without jobs support, it runs as a one-off service with a warning, as before.
### ✨ Improvements
**Jobs**
• Jobs:add support for one-shot and scheduled `jobs` by @glours in https://github.com/docker/compose/pull/14155
**Full Changelog**:https://github.com/docker/compose/compare/v5.7.2...v5.8.0