Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 docker-compose

查看 docker-compose 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install docker-compose

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install docker-compose

MacPorts ports tree · python/docker-compose/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install docker-compose

Debian stable package indexes · docker-compose · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install docker-compose

Fedora Rawhide package metadata · docker-compose · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#docker-compose

nixpkgs package indexes · docker-compose · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S docker-compose

Arch Linux sync databases · docker-compose · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install docker-compose

openSUSE Tumbleweed package metadata · docker-compose · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install docker-compose

Chocolatey community package catalog · docker-compose · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/docker-compose

Scoop official bucket manifest trees · bucket/docker-compose.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Docker.DockerCompose -e

Windows Package Manager source index · Docker.DockerCompose · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Isolated development environments using Docker

命令和别名

  • docker-compose

历史

项目历史与用法

Docker Compose is Docker's tool for defining and running multi-container applications from a Compose file. Docker's docs describe it as a way to manage services, networks, and volumes in one YAML configuration, then start the application stack with a single command.

项目历史

Compose became one of Docker's defining developer-experience tools because it translated a multi-container application into a file that could live beside source code. The current upstream README describes the modern Go-based Compose as a Docker CLI plugin and notes that the legacy Python version remains on the v1 branch.

采用历史

Compose's adoption path runs through Docker Desktop, Linux binaries, distribution packages, and CI systems. The README says Docker Desktop includes Compose on Windows and macOS and documents installation as a CLI plugin under Docker's cli-plugins directory on Linux. The batch input shows especially broad package-manager coverage, including Homebrew, Chocolatey, Debian, Fedora-style distributions, MacPorts, Nix, Arch, Scoop, Ubuntu, winget, and zypper.

使用方式

The normal workflow is to define services in compose.yaml or docker-compose.yml, then use docker compose up to create and start the application. Docker docs call out lifecycle commands for starting, stopping, rebuilding, viewing status, streaming logs, and running one-off commands, making Compose common in local development, test environments, staging, simple production deployments, and CI workflows.

为什么软件包爱好者会关心

Docker Compose is package-nerd significant because it made multi-container Docker applications portable before Kubernetes became the default mental model for orchestration. It also marks a major packaging transition: the old standalone docker-compose command and Python implementation gave way to a Docker CLI plugin, while package managers kept shipping a familiar formula name.

时间线

  • 2010s: Compose popularizes application stacks described in docker-compose.yml files.
  • 2020: The Compose Specification becomes the shared Compose file format used by the modern project.
  • 2020s: The Go-based Compose V2 becomes the main Docker Compose implementation, with the Python version kept on the v1 branch.
  • 2026: Docker docs present Compose as the standard tool for defining and running multi-container applications, and the batch input lists broad package-manager distribution.

Related projects

  • Docker Compose is closely related to Docker Engine, Docker Desktop, the Compose Specification, Docker Buildx for Compose builds, Swarm's older Compose-file usage, and editor tools such as Microsoft's Compose Language Service.

安全态势

尚未找到受保护工具覆盖

没有找到 docker-compose 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
./compose.yaml./compose.yml./docker-compose.yaml./docker-compose.yml./.env

可执行文件

已安装的可执行文件

命令类型暴露范围备注
docker-composecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本5.3.1
管理器更新时间2026-07-07
本地数据OK
上游当前
检测到的最新版本v5.3.1

https://github.com/docker/compose

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:docker-compose
版本5.3.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/docker-compose
主页https://docs.docker.com/compose/
仓库https://github.com/docker/compose
上游文档https://docs.docker.com/compose
许可证Apache-2.0
源码归档https://github.com/docker/compose/archive/refs/tags/v5.3.1.tar.gz
最后更新2026-07-07T15:33:42Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项Compose is a Docker plugin. For Docker to find the plugin, add "cliPluginsExtraDirs" to ~/.docker/config.json: "cliPluginsExtraDirs": [ "$HOMEBREW_PREFIX/lib/docker/cli-plugins" ]

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedocker-compose
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

docker-compose 2.26.1-4

Define and run multi-container applications with Docker (program)

https://github.com/docker/compose

sudo apt install docker-compose
  • Section: admin
  • Architecture: amd64
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Docker Compose
Debian stable package indexes · deb.debian.org · Debian stable package indexes: docker-compose from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

docker-compose

nix profile install nixpkgs#docker-compose
  • normalized package name match
  • 匹配方式:Docker Compose
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: docker-compose from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

docker-compose 1.29.2-6ubuntu1

define and run multi-container Docker applications with YAML

https://docs.docker.com/compose/

sudo apt install docker-compose
  • Section: universe/admin
  • Architecture: all
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Docker Compose
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: docker-compose from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-compose 1.29.2-6ubuntu1

Python implementation of docker-compose file specification

https://docs.docker.com/compose/

sudo apt install python3-compose
  • Section: universe/admin
  • Architecture: all
  • Source Package: docker-compose
  • 13 依赖
  • normalized package name match
  • 匹配方式:Docker Compose
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-compose from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

docker-compose 5.1.4-1.fc45

Define and run multi-container applications with Docker

https://github.com/docker/compose

sudo dnf install docker-compose
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: docker-compose
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Docker Compose
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: docker-compose from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

docker-compose 5.1.4-1

Fast, isolated development environments using Docker

https://www.docker.com/

sudo pacman -S docker-compose
  • License: Apache-2.0
  • Architecture: x86_64
  • normalized package name match
  • 匹配方式:Docker Compose
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: docker-compose from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

docker-compose 5.1.4-1.1

Define and run multi-container applications with Docker

https://github.com/docker/compose

sudo zypper install docker-compose
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: docker-compose
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Docker Compose
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: docker-compose from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

docker-compose

sudo port install docker-compose
  • normalized package name match
  • 匹配方式:Docker Compose
MacPorts ports tree · api.github.com · MacPorts ports tree: python/docker-compose/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

docker-compose

choco install docker-compose
  • normalized package name match
  • 匹配方式:Docker Compose
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: docker-compose from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dnspy'
Scoop95%

main/docker-compose

scoop install main/docker-compose
  • normalized package name match
  • 匹配方式:Docker Compose
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/docker-compose.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Docker.DockerCompose

winget install --id Docker.DockerCompose -e
  • normalized package name match
  • 匹配方式:Docker Compose
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Docker.DockerCompose from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment