macOS
brew install container-structure-testlocal Homebrew formula metadata
安装
brew install container-structure-testlocal Homebrew formula metadata
nix profile install nixpkgs#container-structure-testnixpkgs package indexes · pkgs/by-name/co/container-structure-test/package.nix · 来源: api.github.com
概览
Validate the structure of your container images
历史
Container Structure Tests is a GoogleContainerTools project for validating container image contents, command behavior, filesystem state, and metadata. It became a common package-manager entry because it is a standalone binary aimed at CI checks for built images.
The project released v0.1.0 in October 2017 and v1.0.0 in March 2018. Its README now describes the project as not officially supported by Google and in maintenance mode, while still accepting contributions.
Official documentation emphasizes local binary use, Docker-image use, and Google Cloud Builder use. It also documents Homebrew installation for macOS, which helped make the CLI easy to install outside a larger Google Cloud SDK.
Users provide YAML or JSON test files to `container-structure-test test --image ... --config ...`. The test types cover command output, file existence, file contents, image metadata, and license checks, which are the concerns image publishers usually want to verify before release.
The package matters because it made container image assertions portable: the test spec can live beside a Dockerfile, and CI can fail the image artifact rather than only failing application unit tests. Its explicit schema versioning and single-purpose binary made it attractive to packaging and release pipelines.
安全态势
broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
container-structure-test | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/GoogleContainerTools/container-structure-test
安装元数据
| 软件包键 | brew:container-structure-test |
|---|---|
| 版本 | 1.22.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/container-structure-test |
| 主页 | https://github.com/GoogleContainerTools/container-structure-test |
| 仓库 | https://github.com/GoogleContainerTools/container-structure-test |
| 上游文档 | https://github.com/GoogleContainerTools/container-structure-test#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/GoogleContainerTools/container-structure-test/archive/refs/tags/v1.22.1.tar.gz |
| 最后更新 | 2026-07-05T18:49:52+09:00 |
| 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 | container-structure-test |
| 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 软件包链接分开显示。
container-structure-test
nix profile install nixpkgs#container-structure-test来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.