# docker-compose を Homebrew, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

docker-compose のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:docker-compose
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install docker-compose
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install docker-compose
```

  証拠: MacPorts ports tree: python/docker-compose/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install docker-compose
```

  証拠: Debian stable package indexes: docker-compose from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install docker-compose
```

  証拠: Fedora Rawhide package metadata: docker-compose from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#docker-compose
```

  証拠: nixpkgs package indexes: docker-compose from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S docker-compose
```

  証拠: Arch Linux sync databases: docker-compose from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install docker-compose
```

  証拠: openSUSE Tumbleweed package metadata: docker-compose from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install docker-compose
```

  証拠: Chocolatey community package catalog: docker-compose from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dispcalgui.install'

- Scoop (92%):

```sh
scoop install main/docker-compose
```

  証拠: Scoop official bucket manifest trees: bucket/docker-compose.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Docker.DockerCompose -e
```

  証拠: Windows Package Manager source index: Docker.DockerCompose from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:docker-compose
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/docker-compose>
- **バージョン:** 5.4.0
- **ソース概要:** Isolated development environments using Docker
- **ホームページ:** <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.4.0.tar.gz>
- **最終更新:** 2026-08-03T16:48:11Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- docker-compose (cli)
- docker-compose (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- 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" ]
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 5.4.0
- マネージャ更新日: 2026-08-03
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/docker/compose
- 検出された最新: v5.4.0 (最新)
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://docs.docker.com/compose/>
- <https://github.com/docker/compose#readme>
- <https://compose-spec.io/>
- <https://formulae.brew.sh/formula/docker-compose>


## セキュリティノート

docker-compose に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。



## 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

- Unix: ./compose.yaml, ./compose.yml, ./docker-compose.yaml, ./docker-compose.yml, ./.env
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** docker-compose
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Debian apt - docker-compose - 2.26.1-4: normalized package name match | Debian stable package indexes: docker-compose from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Define and run multi-container applications with Docker (program) | https://github.com/docker/compose
- Nix - docker-compose: normalized package name match | nixpkgs package indexes: docker-compose from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - docker-compose - 1.29.2-6ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: docker-compose from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | define and run multi-container Docker applications with YAML | https://docs.docker.com/compose/
- Ubuntu apt - python3-compose - 1.29.2-6ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-compose from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python implementation of docker-compose file specification | https://docs.docker.com/compose/
- dnf - docker-compose - 5.4.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: docker-compose from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Define and run multi-container applications with Docker | https://github.com/docker/compose
- pacman - docker-compose - 5.4.0-1: normalized package name match | Arch Linux sync databases: docker-compose from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fast, isolated development environments using Docker | https://www.docker.com/
- zypper - docker-compose - 5.3.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: docker-compose from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Define and run multi-container applications with Docker | https://github.com/docker/compose
- MacPorts - docker-compose: normalized package name match | MacPorts ports tree: python/docker-compose/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - docker-compose: normalized package name match | Chocolatey community package catalog: docker-compose from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dispcalgui.install'
- Scoop - main/docker-compose: normalized package name match | Scoop official bucket manifest trees: bucket/docker-compose.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Docker.DockerCompose: normalized package name match | Windows Package Manager source index: Docker.DockerCompose from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Cloud CLI packages](https://pkg.so/ja/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [AI and agent packages](https://pkg.so/ja/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [docker](https://pkg.so/ja/brew/docker/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-buildx](https://pkg.so/ja/brew/docker-buildx/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [lazydocker](https://pkg.so/ja/brew/lazydocker/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-credential-helper-ecr](https://pkg.so/ja/brew/docker-credential-helper-ecr/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-credential-helper](https://pkg.so/ja/brew/docker-credential-helper/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-machine](https://pkg.so/ja/brew/docker-machine/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [devcontainer](https://pkg.so/ja/brew/devcontainer/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, development-environments, docker.
- [docker-engine](https://pkg.so/ja/brew/docker-engine/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-language-server](https://pkg.so/ja/brew/docker-language-server/) - Package names and metadata indicate a similar tool family. Shared terms: cli, compose, containers, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/docker-compose.yml](https://github.com/mxcl/pkgdb/blob/main/combined/docker-compose.yml)


## ソース

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