# 使用 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
- **版本:** 1.120.0
- **来源摘要:** Agent Builder and Runtime by Docker Engineering
- **主页:** <https://docker.github.io/docker-agent/>
- **仓库:** <https://github.com/docker/docker-agent>
- **最后更新:** 2026-08-03T15:08:48Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- docker-agent (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.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
## 其他软件包管理器记录

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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
