macOS
brew install container-structure-testlocal Homebrew formula metadata
brew
Validate the structure of your container images. Version 1.22.1 via Homebrew; verified 2026-07-05.
install
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 · source: api.github.com
overview
Validate the structure of your container images
history
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.
security posture
broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
container-structure-test | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/GoogleContainerTools/container-structure-test
install metadata
| Package key | brew:container-structure-test |
|---|---|
| Version | 1.22.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/container-structure-test |
| Homepage | https://github.com/GoogleContainerTools/container-structure-test |
| Repository | https://github.com/GoogleContainerTools/container-structure-test |
| Upstream docs | https://github.com/GoogleContainerTools/container-structure-test#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/GoogleContainerTools/container-structure-test/archive/refs/tags/v1.22.1.tar.gz |
| Last updated | 2026-07-05T18:49:52+09:00 |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
container-structure-test
nix profile install nixpkgs#container-structure-testsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.