# 使用 Homebrew 安装 rancher-machine

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

## 安装

```sh
sudo av install brew:rancher-machine
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install rancher-machine
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:rancher-machine
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/rancher-machine>
- **版本:** 0.15.0-rancher145
- **来源摘要:** Machine management for a container-centric world
- **主页:** <https://github.com/rancher/machine>
- **仓库:** <https://github.com/rancher/machine>
- **上游文档:** <https://gcbw.github.io/docker.github.io/machine>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/rancher/machine/archive/refs/tags/v0.15.0-rancher145.tar.gz>
- **最后更新:** 2026-07-03T00:48:55Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- rancher-machine (cli)
- rancher-machine (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.15.0-rancher145
- 管理器更新时间: 2026-07-03
- 本地数据: OK
- 上游仓库: https://github.com/rancher/machine
- 检测到的最新版本: v0.15.0-rancher145 (当前)
## 项目历史与用法

Rancher Machine is Rancher's fork of Docker Machine, kept for provisioning and managing Docker hosts as part of Rancher-oriented workflows.

### 项目历史

The official README identifies Rancher Machine as a fork of Docker Machine and describes Machine as software for creating Docker hosts on a computer, cloud providers, or inside a data center, then configuring the Docker client to talk to them.

### 采用历史

Rancher states that the project is intended to be embedded and executed by the full Rancher product, while standalone CLI functionality remains available but is no longer the primary human-facing focus.

### 使用方式

The CLI creates and manages machines, stores per-machine host configuration under the Machine storage path, and preserves Docker Machine-style commands for environments that still need machine provisioning from scripts, Terraform, or Rancher components.

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

For package maintainers, rancher-machine is notable as a downstream-maintained Docker Machine lineage package: the binary name and storage paths remain familiar, while releases and branches track Rancher consumption rather than Docker's old release stream.

### 时间线

- 2015: Docker Machine-era storage conventions such as ~/.docker/machine became part of the tool lineage.
- 2025-07-18: The upstream Docker Machine repository was archived, increasing the relevance of maintained forks.
- 2026-07-02: Rancher Machine latest GitHub release listed as v0.15.0-rancher137.2.

### Related projects

- Docker Machine is the upstream project lineage.
- Rancher consumes Rancher Machine from its release branches and tags.
- Docker Engine hosts are the managed targets created by Machine.

### 来源

- <https://gcbw.github.io/docker.github.io/machine/>
- <https://github.com/rancher/machine>
- <https://raw.githubusercontent.com/rancher/machine/master/commands/mcndirs/utils.go>
- <https://raw.githubusercontent.com/rancher/machine/master/libmachine/persist/filestore.go>


## 安全说明

没有找到 rancher-machine 的匹配本地密钥处理 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: $MACHINE_STORAGE_PATH/machines/<machine-name>/config.json, ~/.docker/machine/machines/<machine-name>/config.json

## Credential files

- Unix: $MACHINE_STORAGE_PATH/certs/, $MACHINE_STORAGE_PATH/machines/<machine-name>/, ~/.docker/machine/certs/, ~/.docker/machine/machines/<machine-name>/
## 源数据库详情

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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched curated package taxonomy and local package facts.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [docker-machine-driver-vultr](https://www.automicvault.com/zh-hans/pkg/brew/docker-machine-driver-vultr/) - Popular package that depends on this formula.
- [rancher-cli](https://www.automicvault.com/zh-hans/pkg/brew/rancher-cli/) - Package names and metadata indicate a similar tool family. Shared terms: management, rancher.
- [rancher](https://www.automicvault.com/zh-hans/pkg/cask/rancher/) - Local package facts share a topical domain. Shared terms: container, management, rancher.

## Combined YAML source

View the package source record on GitHub. [combined/rancher-machine.yml](https://github.com/automic-vault/db/blob/main/combined/rancher-machine.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
