Trình duyệt web Văn phòng & PDF Bộ gõ tiếng Việt Chat & họp trực tuyến Nghe nhạc & xem video Đồ hoạ & ảnh Nén & giải nén Tiện ích hệ thống Điều khiển từ xa Lập trình Tải file & torrent Bảo mật & mật khẩu Mạng & Internet Game & giả lập Giáo dục & khoa học Phần mềm khác

Docker Compose 5.7.0

Nhà phát hành: Docker Inc. · Mã nguồn mở

Docker Compose là công cụ dòng lệnh mã nguồn mở giúp định nghĩa và chạy các ứng dụng đa container trên Docker bằng file cấu hình đơn giản, giúp quản lý dễ dàng hơn.

Tải về (33,2 MB, 64-bit)

Giới thiệu

Docker Compose là một plugin dòng lệnh của Docker do Docker Inc. phát triển, cho phép người dùng định nghĩa và chạy các ứng dụng đa container một cách dễ dàng. Thay vì phải khởi tạo từng container riêng lẻ, bạn có thể sử dụng Docker Compose để cấu hình và quản lý nhiều container cùng lúc thông qua một file cấu hình đơn giản.

Phần mềm này rất hữu ích trong việc phát triển, kiểm thử và triển khai các ứng dụng phức tạp sử dụng nhiều dịch vụ chạy đồng thời, giúp tiết kiệm thời gian và giảm thiểu sai sót khi thao tác thủ công.

Tính năng chính

  • Định nghĩa cấu hình đa container bằng file YAML đơn giản.
  • Khởi chạy và quản lý nhiều container cùng lúc chỉ với một lệnh.
  • Hỗ trợ tích hợp trực tiếp với Docker CLI qua plugin docker-compose.
  • Miễn phí và mã nguồn mở theo giấy phép Apache-2.0.
  • Không cần cài đặt phức tạp, dạng portable tiện lợi cho nhiều môi trường.

Ai nên dùng

Docker Compose phù hợp với các nhà phát triển phần mềm, kỹ sư DevOps và những ai làm việc với Docker để xây dựng, thử nghiệm hoặc triển khai các ứng dụng đa container một cách nhanh chóng và hiệu quả.

Cài đặt

  1. Bấm nút Tải về trên trang này để tải bộ cài gốc.
  2. Giải nén file tải về vì đây là bản portable, không cần cài đặt.
  3. Mở terminal (dòng lệnh) và chạy plugin docker-compose thông qua Docker CLI.

Lưu ý

Docker Compose là phần mềm mã nguồn mở, miễn phí sử dụng theo giấy phép Apache-2.0. Đây là công cụ dòng lệnh, phù hợp với người dùng có kiến thức cơ bản về Docker và terminal. Để sử dụng lâu dài, nên tuân thủ các quy định về bản quyền của Docker Inc.

Có gì mới trong 5.7.0

## What's Changed > ℹ️ **Heads-up for users of Compose as a library:** `Up` now runs its Create and Start phases as **a single plan over a single daemon snapshot**, for `up -d` ([#14290](https://github.com/docker/compose/pull/14290)) and interactive `up` ([#14305](https://github.com/docker/compose/pull/14305)), as `scale`, watch rebuilds and `start` already do ([#14291](https://github.com/docker/compose/pull/14291), [#14296](https://github.com/docker/compose/pull/14296)). The CLI behaves as before. If you call `api.Compose.Up` from your own program: > > * `Up` now validates its options first, with the same rules as the CLI flags:`UpOptions.Validate()` returns an `*api.IncompatibleOptionsError` (`errors.Is(err, api.ErrIncompatibleOptions)`) for `Start.Wait` combined with `Start.Attach`, and for a detached `Up` (no `Start.Attach`) combined with `OnExit`, `ExitCodeFrom` or `Watch`. Those combinations used to be silently ignored ([#14306](https://github.com/docker/compose/pull/14306)). > * `Up` works on the project it is given and ignores `StartOptions.Project`. > * The daemon is not observed again between the two phases:a container that exits after the plan is built is not started again, and one removed in between makes its start fail instead of being skipped. A planning error of the Start phase now fails before any container is created. > * A foreground `Up` now gives a `use_api_socket` service its `/run/secrets/docker/config.json`, as `up -d` does, and shows the output of `pre_start` hooks. > * The keyboard menu of an interactive `up` is no longer built by the library:set `NavigationMenu: true` **and** pass an implementation with `compose.WithNavigationMenu(...)`, otherwise no menu is displayed and a warning says so ([#14324](https://github.com/docker/compose/pull/14324)). > > Other changes to the library surface in this release:`DownOptions.Images` is now an `api.ImagePruneMode` (untyped constants still compile, a `string` variable needs a conversion) and an invalid value is rejected before `Down` removes anything ([#14149](https://github.com/docker/compose/pull/14149)); `compose.ServiceHash`, `compose.NetworkHash` and `compose.VolumeHash` are no longer exported, the helpers having moved to an internal package ([#14405](https://github.com/docker/compose/pull/14405)); `api.Compose` is now assembled from six smaller interfaces, with the same method set ([#14322](https://github.com/docker/compose/pull/14322)); `PushOptions.IgnoreMissing` is added. ### ✨ Improvements **Execution plan** • Feat:detached up runs on a single plan by @ndeloof in https://github.com/docker/compose/pull/14290 • Feat(up):interactive up runs on a single plan by @ndeloof in https://github.com/docker/compose/pull/14305 • Feat:scale and watch rebuild use the unified plan by @ndeloof in https://github.com/docker/compose/pull/14291 • Feat:compose start builds a start-only plan by @ndeloof in https://github.com/docker/compose/pull/14296 **Commands** • Feat(run):--no-recreate reuses existing dependencies as-is by @ndeloof in https://github.com/docker/compose/pull/14144 • Feat(push):add --ignore-missing to skip images not available locally by @glours in https://github.com/docker/compose/pull/14341 • Feat(push):deprecate --ignore-push-failures in favor of --ignore-missing by @glours in https://github.com/docker/compose/pull/14354 • Feat(stats):add --all-projects and --aggregate flags by @glours in https://github.com/docker/compose/pull/14337 • Feat(network):let a service opt out of its name as a network alias by @glours in https://github.com/docker/compose/pull/14342 • Pass --parallel limit to bake as --jobs by @maxproske in https://github.com/docker/compose/pull/14352 **Other** • Feat:support the umask service attribute by @ndeloof in https://github.com/docker/compose/pull/14367 • Use the Docker Desktop Hub session for Docker Hub registry credentials by @Benehiko in https://github.com/docker/compose/pull/14295 ### 🐛 Fixes • Fix(bridge):reject --dry-run on bridge commands by @glours in https://github.com/docker/compose/pull/14307 • Fix(up):don't report a cancelled or expired wait on an optional dependency as skipped by @ndeloof in https://github.com/docker/compose/pull/14309 • Fix(logs):relay each line of a restarted container exactly once by @ndeloof in https://github.com/docker/compose/pull/14314 • Fix(bake):grant permissions for configured build inputs by @crazy-max in https://github.com/docker/compose/pull/14325 • Fix(watch):skip sync+exec triggers on bind-mounted paths by @glours in https://github.com/docker/compose/pull/14328 • Fix:pre_start hooks receive the service env_file and environment by @ndeloof in https://github.com/docker/compose/pull/14293 • Fix:keep the image pull of compose run inside the run progress block by @ndeloof in https://github.com/docker/compose/pull/14294 • Fix:do not execute providers and models in dry-run mode by @glours in https://github.com/docker/compose/pull/14334 • Fix(build):read bake's stderr to the end before waiting for it by @ndeloof in https://github.com/docker/compose/pull/14335 • Fix(executor):a wait node holds no --parallel slot while it polls by @ndeloof in https://github.com/docker/compose/pull/14303 • Fix(pre_start):capture a hook's output by opening its log stream once started by @ndeloof in https://github.com/docker/compose/pull/14353 • Fix(run):keep a recreated dependency's anonymous volumes by @htoyoda18 in https://github.com/docker/compose/pull/14358 • Fix(watch):ignore .git at any depth inside the watched path by @htoyoda18 in https://github.com/docker/compose/pull/14363 • Fix(executor):report the services a failed start interrupts by @ndeloof in https://github.com/docker/compose/pull/14376 • Fix(monitor):subscribe to events since before the initial listing by @ndeloof in https://github.com/docker/compose/pull/14304 • Fix(compose):skip the lowered-environment allocation in envResolverWithCase by @TDnorthgarden in https://github.com/docker/compose/pull/14390 • Fix(projectloader):unescape service names in unsupported attribute warnings by @Huang-404-Q in https://github.com/docker/compose/pull/14380 • Fix(down):keep a volume the project does not own on down -v by @htoyoda18 in https://github.com/docker/compose/pull/14374 • Fix(start):give a started use_api_socket service its config file by @ndeloof in https://github.com/docker/compose/pull/14393 • Fix(up):honor -t when an attached up stops the application by @htoyoda18 in https://github.com/docker/compose/pull/14395 • Fix(up):check a depends_on condition before the first poll tick by @htoyoda18 in https://github.com/docker/compose/pull/14385 • Fix(watch):recognize bind-mounted paths starting with two dots by @ahbaqdadi in https://github.com/docker/compose/pull/14425 • Fix(use_api_socket):harden the credentials handed to the service by @ndeloof in https://github.com/docker/compose/pull/14402 ### 🔧 Internal • Executor:run start-phase operations (epic #14081, lot 1) by @ndeloof in https://github.com/docker/compose/pull/14274 • Api:DownOptions.Images becomes a typed ImagePruneMode, validated upfront by @ndeloof in https://github.com/docker/compose/pull/14149 • Api:reject incompatible Up options with a typed error by @ndeloof in https://github.com/docker/compose/pull/14306 • Refactor:split create() into preparePlan + execute by @ndeloof in https://github.com/docker/compose/pull/14289 • Refactor(executor):let a caller drive the create and start phases itself by @ndeloof in https://github.com/docker/compose/pull/14302 • Refactor(api):split Compose into focused interfaces by @ndeloof in https://github.com/docker/compose/pull/14322 • Refactor(compose):move mutable package-level state into composeService by @ndeloof in https://github.com/docker/compose/pull/14323 • Refactor(up):inject the navigation menu instead of importing cmd/formatter by @ndeloof in https://github.com/docker/compose/pull/14324 • Refactor:extract inspect and projectloader from pkg/compose into internal packages by @ndeloof in https://github.com/docker/compose/pull/14331 • Refactor:move the provider relay and plugin execution to internal/relay and internal/provider by @ndeloof in https://github.com/docker/compose/pull/14333 • Refactor(executor):hand the hook-log listener to runStart only by @ndeloof in https://github.com/docker/compose/pull/14392 • Refactor:move exec, cp, export and commit to internal/containerops by @ndeloof in https://github.com/docker/compose/pull/14397 • Refactor:move the config-hash helpers to internal/confighash by @ndeloof in https://github.com/docker/compose/pull/14405 • Refactor:add internal/concurrency for the bounded errgroup helpers by @ndeloof in https://github.com/docker/compose/pull/14422 • Refactor:remove the helpers duplicated across pkg/compose and the internal packages by @ndeloof in https://github.com/docker/compose/pull/14424 • Docs(compose):drop the comments that still describe the deleted imperative start path by @ndeloof in https://github.com/docker/compose/pull/14398 • Docs(compose):correct what the startMx comment says about #12846 by @ndeloof in https://github.com/docker/compose/pull/14399 • Refactor(compose):drop the timeout parameter of waitDependencies by @ndeloof in https://github.com/docker/compose/pull/14400 • Refactor(compose):move the dependency wait helpers to their own file by @ndeloof in https://github.com/docker/compose/pull/14401 • Ci:run unit tests with -race, pin test tooling, add a ci-ok aggregate check by @ndeloof in https://github.com/docker/compose/pull/14321 • Go.mod:keep go patch version at lowest possible by @thaJeztah in https://github.com/docker/compose/pull/14347 • Build(lint):bump golangci-lint to v2.15.0 and fix its new findings by @ndeloof in https://github.com/docker/compose/pull/14418 • Test(e2e):lock the behavior of the foreground up by @ndeloof in https://github.com/

Thông tin

Phiên bản5.7.0
Dung lượng33,2 MB
Hệ điều hànhWindows 10/11 (64-bit)
Giấy phépMã nguồn mở (Apache-2.0)
Ngày phát hành02/11/2026
Cập nhật lên kho21/11/2026
Trang chủgithub.com
Lượt tải0

Kiểm tra file

Bộ cài tải nguyên bản từ github.com, mã SHA256 khớp với kho winget của Microsoft. Không chỉnh sửa, không gói kèm.

SHA256 (file docker-compose-windows-x86_64.exe)
f5dc759702aec5c0602e247aa861d14853216e3f481c4eaaf83621a035ecf92f
Tự kiểm trên Windows: certutil -hashfile "docker-compose-windows-x86_64.exe" SHA256

Cùng danh mục