macOS
brew install cranelocal Homebrew formula metadata
安装
brew install cranelocal Homebrew formula metadata
sudo apk add craneAlpine Linux edge package indexes · crane · 来源: dl-cdn.alpinelinux.org
sudo pacman -S craneArch Linux sync databases · crane · 来源: geo.mirror.pkgbuild.com
sudo zypper install craneopenSUSE Tumbleweed package metadata · crane · 来源: download.opensuse.org
概览
Tool for interacting with remote images and registries
历史
crane is the command-line front end in Google's go-containerregistry project for working with remote container images and registries. It sits beside the Go library APIs and exposes common registry operations as shell commands.
The go-containerregistry repository was created in 2018 as a Go library and set of CLIs for container registry work. Its README describes the library as largely based on Google's earlier Python containerregistry library and explains that crane, gcrane, and krane are tools built on top of the shared registry primitives.
The crane README documents direct binary releases, Go installation, Homebrew, Arch Linux, GitHub Actions setup, and a container image form of the tool. The project published a v0.1.0 GitHub release in 2020 and was still publishing releases in 2026.
crane became common packaging material because it is useful without a Docker daemon: scripts can copy, tag, inspect, authenticate to, and move images directly against registries. Official installation instructions explicitly cover Homebrew, Arch Linux, release tarballs, Go install, and containerized usage.
Package users reach for crane for registry automation: pulling and pushing images, copying between registries, tagging images in CI, listing tags, and authenticating to registries. The go-containerregistry README maps examples such as crane pull, crane push, and crane cp to library-level remote and tarball operations.
For package maintainers, crane is a small, single-purpose registry CLI with signed release artifacts and documented SLSA provenance verification. That makes it attractive in build pipelines where installing a full container engine would be unnecessary overhead.
安全态势
没有找到 crane 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Credential-bearing paths to review before unattended agent runs.
~/.docker/config.json${DOCKER_CONFIG}/config.json${XDG_RUNTIME_DIR}/containers/auth.json%USERPROFILE%\.docker\config.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
crane | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/google/go-containerregistry
安装元数据
| 软件包键 | brew:crane |
|---|---|
| 版本 | 0.21.7 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/crane |
| 主页 | https://github.com/google/go-containerregistry |
| 仓库 | https://github.com/google/go-containerregistry |
| 上游文档 | https://github.com/google/go-containerregistry/blob/main/cmd/crane/recipes.md |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/google/go-containerregistry/archive/refs/tags/v0.21.7.tar.gz |
| 最后更新 | 2026-06-18T00:54:03Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | crane |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
crane 0.21.6-r0
tool for interacting with remote images and registries
https://github.com/google/go-containerregistry/tree/main/cmd/crane
sudo apk add cranecrane 0.21.6-1
Interacting with remote container images and registries.
https://github.com/google/go-containerregistry
sudo pacman -S cranecrane 0.21.3-1.2
CLI tool for interacting with remote images and registries
https://github.com/google/go-containerregistry
sudo zypper install crane来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.