Automic VaultAutomic Vault

brew

Install container-structure-test with Homebrew, Nix

Validate the structure of your container images. Version 1.22.1 via Homebrew; verified 2026-07-05.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install container-structure-test

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#container-structure-test

nixpkgs package indexes · pkgs/by-name/co/container-structure-test/package.nix · source: api.github.com

overview

Package summary

Validate the structure of your container images

Commands and aliases

  • container-structure-test

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2017: v0.1.0 release published.
  • 2018: v1.0.0 release published.
  • 2025: v1.22.1 release published while the README described the project as in maintenance mode.

Related projects

  • The README references Docker, Google Cloud Builder, and container image metadata rather than a specific runtime integration.

security posture

Risk level: orange

broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • broad file, network, media, or database tool signal
  • infrastructure mutation or orchestration signal

Signals

  • text:container
  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
container-structure-testcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.22.1
manager updated2026-07-05
local dataok
upstreamcurrent
latest detectedv1.22.1

https://github.com/GoogleContainerTools/container-structure-test

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:container-structure-test
Version1.22.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/container-structure-test
Homepagehttps://github.com/GoogleContainerTools/container-structure-test
Repositoryhttps://github.com/GoogleContainerTools/container-structure-test
Upstream docshttps://github.com/GoogleContainerTools/container-structure-test#readme
LicenseApache-2.0
Source archivehttps://github.com/GoogleContainerTools/container-structure-test/archive/refs/tags/v1.22.1.tar.gz
Last updated2026-07-05T18:49:52+09:00
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecontainer-structure-test
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

container-structure-test

nix profile install nixpkgs#container-structure-test
  • normalized package name match
  • Matched by: Container Structure Test
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/co/container-structure-test/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment