# 使用 Homebrew, winget 安装 docker-agent

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install docker-agent
```

  证据: local Homebrew formula metadata

### Windows

- winget (92%):

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

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

## 软件包事实

- **软件包键:** brew:docker-agent
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/docker-agent>
- **版本:** 1.120.0
- **来源摘要:** Agent Builder and Runtime by Docker Engineering
- **主页:** <https://docker.github.io/docker-agent/>
- **仓库:** <https://github.com/docker/docker-agent>
- **上游文档:** <https://docker.github.io/docker-agent/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/docker/docker-agent/archive/refs/tags/v1.120.0.tar.gz>
- **最后更新:** 2026-08-03T15:08:48Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- docker-agent (cli)
- docker-agent (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.120.0
- 管理器更新时间: 2026-08-03
- 本地数据: OK
- 上游仓库: https://github.com/docker/docker-agent
- 检测到的最新版本: v1.120.0 (当前)
## 项目历史与用法

Docker Agent is Docker's open source CLI for defining, running, and sharing AI agents from YAML or HCL configuration. The upstream README describes it as a docker CLI plugin that can run as docker agent, with multi-agent orchestration, MCP toolsets, provider-agnostic model support, RAG, and OCI registry distribution.

### 项目历史

Docker Agent is a recent Docker Engineering project that applies Docker packaging habits to AI-agent workflows: declarative configuration, a CLI entry point, reusable toolsets, and distribution through registries. Its docs position it explicitly as an agent runner rather than a hosted SaaS or code framework.

### 采用历史

The README documents three adoption channels: preinstallation in Docker Desktop 4.63 and later, Homebrew installation, and binary releases from GitHub. That makes it unusual among early AI-agent CLIs because Docker is trying to make the agent runtime feel like another Docker workflow rather than a separate Python or Node stack.

### 使用方式

Users write an agent.yaml file with model, instructions, and toolsets, then run it with docker agent run or docker-agent directly. The docs and README highlight coding agents, operations and SRE tasks, multi-agent teams, filesystem and shell tools, MCP integrations, local models through Docker Model Runner, and pushing or pulling agents through OCI registries.

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

For package-manager users, Docker Agent is notable because it packages a fast-moving AI-agent runtime as a CLI plugin in the Docker ecosystem. Its significance is still emerging, but it is a clear example of AI tooling being distributed through the same channels as container developer tools.

### 时间线

- 2026: Upstream docs describe Docker Agent as a Docker tool for running AI agents from configuration.
- 2026: The README documents Docker Desktop 4.63+ bundling, Homebrew installation, and GitHub binary releases.
- 2026: The batch input lists Homebrew and winget package-manager entries.

### Related projects

- Docker Agent overlaps with Docker Model Runner, Docker's MCP catalog, general MCP servers, local-model runtimes, and AI coding-agent CLIs, but its official framing is Docker-native agent configuration and distribution.

### 来源

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


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal


## 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: ./agent.yaml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** docker-agent
- **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

## 其他软件包管理器记录

- winget - Docker.Agent: normalized package name match | Windows Package Manager source index: Docker.Agent from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://pkg.so/zh-hans/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [librefang](https://pkg.so/zh-hans/brew/librefang/) - Shares pkgdb curated category or tags: agents, ai, ai-agents, automation, cli.
- [agent-browser](https://pkg.so/zh-hans/brew/agent-browser/) - Shares pkgdb curated category or tags: agents, ai, ai-agents, cli.
- [openclaw-cli](https://pkg.so/zh-hans/brew/openclaw-cli/) - Shares pkgdb curated category or tags: agents, ai, automation, cli.
- [hermes-agent](https://pkg.so/zh-hans/brew/hermes-agent/) - Shares pkgdb curated category or tags: agents, ai, automation, cli.
- [nono](https://pkg.so/zh-hans/brew/nono/) - Shares pkgdb curated category or tags: agents, ai, ai-agents, cli.
- [e2b](https://pkg.so/zh-hans/brew/e2b/) - Shares pkgdb curated category or tags: agents, ai, ai-agents, cli.
- [ironclaw](https://pkg.so/zh-hans/brew/ironclaw/) - Shares pkgdb curated category or tags: agents, ai, automation, cli.
- [nullclaw](https://pkg.so/zh-hans/brew/nullclaw/) - Shares pkgdb curated category or tags: agents, ai, cli, runtime.
- [agent-browser](https://pkg.so/zh-hans/npm/agent-browser/) - Local package facts share a topical domain. Shared terms: agent, agents, ai, ai-agents, automation.

## Combined YAML source

View the package source record on GitHub. [combined/docker-agent.yml](https://github.com/mxcl/pkgdb/blob/main/combined/docker-agent.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
