# 使用 Homebrew, apt, dnf, Nix, pacman, zypper, scoop, winget 安装 docker-buildx

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install docker-buildx
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install docker-buildx
```

  证据: Debian stable package indexes: docker-buildx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install docker-buildx
```

  证据: Fedora Rawhide package metadata: docker-buildx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

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

  证据: nixpkgs package indexes: docker-buildx from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S docker-buildx
```

  证据: Arch Linux sync databases: docker-buildx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install docker-buildx
```

  证据: openSUSE Tumbleweed package metadata: docker-buildx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

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

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

- winget (92%):

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

  证据: Windows Package Manager source index: Docker.Buildx from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:docker-buildx
- **软件包管理器:** Homebrew
- **版本:** 0.36.0
- **来源摘要:** Docker CLI plugin for extended build capabilities with BuildKit
- **主页:** <https://docs.docker.com/buildx/working-with-buildx/>
- **仓库:** <https://github.com/docker/buildx>
- **最后更新:** 2026-07-29T21:03:17Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- docker-buildx (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.36.0
## 项目历史与用法

Docker Buildx is the Docker CLI plugin that exposes extended Docker Build capabilities backed by BuildKit. The upstream README highlights builder instances, multi-node and multi-platform builds, Compose build support, Bake, and Docker or Kubernetes drivers.

### 项目历史

Buildx grew out of Docker's shift from the classic image builder toward BuildKit. Rather than replacing docker build with a separate tool, Buildx kept a familiar command-line shape while exposing BuildKit features such as named builders, remote drivers, multi-platform output, cache controls, Bake files, and registry image tools.

### 采用历史

Buildx moved from an advanced plugin into ordinary Docker build practice. The README states that Docker Desktop includes Buildx on Windows and macOS, and that Docker Engine package repositories provide Docker Buildx packages for Linux. The batch input shows broad downstream packaging across Homebrew, Debian, Fedora-style distributions, Nix, Arch, Scoop, Ubuntu, winget, and zypper.

### 使用方式

Typical use starts with docker buildx build for BuildKit-backed builds, then expands to docker buildx create and use for builder instances, docker buildx bake for higher-level build definitions, docker buildx imagetools for registry image inspection and manipulation, and docker buildx prune or du for build cache maintenance. It is especially common in CI pipelines that publish multi-architecture container images.

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

Buildx is one of the most important Docker-adjacent packages because it made BuildKit's advanced build graph usable from the Docker CLI. For package nerds, it also illustrates the modern Docker CLI-plugin model: a separate executable named docker-buildx can be installed by a package manager and discovered by Docker as a subcommand.

### 时间线

- 2019: Docker Engine 19.03 is the minimum Docker version named by the Buildx README.
- 2020: Buildx 0.6-era examples appear in the README for building Buildx itself.
- 2026: Docker docs list Buildx as the Docker Build command surface for extended BuildKit capabilities, and the batch input lists wide package-manager distribution.

### Related projects

- Buildx is tightly related to BuildKit, Docker Engine, Docker Desktop, Docker Compose builds, Docker Bake, and registry image tooling such as imagetools.

### 来源

- <https://github.com/docker/buildx#readme>
- <https://docs.docker.com/build/>
- <https://docs.docker.com/reference/cli/docker/buildx/>
- <https://formulae.brew.sh/formula/docker-buildx>


## 安全说明

没有找到 docker-buildx 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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: buildkitd.toml
## 其他软件包管理器记录

- Debian apt - docker-buildx - 0.13.1+ds1-3: normalized package name match | Debian stable package indexes: docker-buildx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Docker CLI plugin for extended build capabilities with BuildKit (program) | https://github.com/docker/buildx
- Debian apt - golang-github-docker-buildx-dev - 0.13.1+ds1-3: normalized package name match | Debian stable package indexes: golang-github-docker-buildx-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Docker CLI plugin for extended build capabilities with BuildKit (library) | https://github.com/docker/buildx
- Nix - docker-buildx: normalized package name match | nixpkgs package indexes: docker-buildx from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - docker-buildx - 0.12.1-0ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: docker-buildx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Docker CLI plugin for extended build capabilities with BuildKit | https://github.com/docker/buildx
- dnf - docker-buildx - 0.36.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: docker-buildx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Docker CLI plugin for extended build capabilities with BuildKit | https://github.com/docker/buildx
- pacman - docker-buildx - 0.35.0-1: normalized package name match | Arch Linux sync databases: docker-buildx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Docker CLI plugin for extended build capabilities with BuildKit | https://github.com/docker/buildx
- zypper - docker-buildx - 0.33.0-40.3: normalized package name match | openSUSE Tumbleweed package metadata: docker-buildx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Docker CLI plugin for extended build capabilities with BuildKit | https://github.com/docker/buildx
- zypper - docker-stable-buildx - 0.25.0-19.3: normalized package name match | openSUSE Tumbleweed package metadata: docker-stable-buildx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Docker CLI plugin for extended build capabilities with BuildKit | https://github.com/docker/buildx
- Scoop - main/docker-buildx: normalized package name match | Scoop official bucket manifest trees: bucket/docker-buildx.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Docker.Buildx: normalized package name match | Windows Package Manager source index: Docker.Buildx from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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