container-structure-test
brew install container-structure-test
v1.22.1
Apache-2.0
Validate the structure of your container images
198
30-day installs · #2626
392
90-day · #3178
1.4k
365-day · #3249
2.5k
★ GitHub stars · updated 2mo ago
Build dependencies
Links
- https://github.com/GoogleContainerTools/container-structure-test
- GitHub: GoogleContainerTools/container-structure-test
- Brew formula source: Formula/c/container-structure-test.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"go"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Validate the structure of your container images",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:35+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "container-structure-test",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-01T18:59:57Z",
"github_readme_excerpt": "Container Structure Tests\n====================\n\nThe Container Structure Tests provide a powerful framework to validate the structure\nof a container image. These tests can be used to check the output of commands\nin an image, as well as verify metadata and contents of the filesystem.\n\nTests can be run either through a standalone binary, or through a Docker image.\n\n**Note: container-structure-test is not an officially supported Google project, and is currently in maintainence mode. Contributions are still welcome!**\n\n## Installation\n\n### OS X\n\nInstall via [brew](https://brew.sh/):\n\n```bash\n$ brew install container-structure-test\n```\n\n```shell\ncurl -LO https://github.com/GoogleContainerTools/container-structure-test/releases/latest/download/container-structure-test-darwin-arm64 \u0026\u0026 chmod +x container-structure-test-darwin-arm64 \u0026\u0026 sudo mv container-structure-test-darwin-arm64 /usr/local/bin/container-structure-test\n```\n\n### Linux\n```shell\ncurl -LO https://github.com/GoogleContainerTools/container-structure-test/releases/latest/download/container-structure-test-linux-amd64 \u0026\u0026 chmod +x container-structure-test-linux-amd64 \u0026\u0026 sudo mv container-structure-test-linux-amd64 /usr/local/bin/container-structure-test\n```\n\nIf you want to avoid using sudo:\n\n```shell\ncurl -LO https://github.com/GoogleContainerTools/container-structure-test/releases/latest/download/container-structure-test-linux-amd64 \u0026\u0026 chmod +x container-structure-test-linux-amd64 \u0026\u0026 mkdir -p $HOME/bin \u0026\u0026 export PATH=$PATH:$HOME/bin \u0026\u0026 mv container-structure-test-linux-amd64 $HOME/bin/container-structure-test\n```\n\n\u003e [!warning]\n\u003e Container builds are currently not updated with new releases\n\nAdditionally, a container image for running tests through Google Cloud Builder can be found\nat `gcr.io/gcp-runtimes/container-structure-test:latest`.\n\n## Setup\nTo use container structure tests to validate your containers, you\u0027ll need the following:\n- The container structure test binary or docker image\n- A container image to test ag",
"github_repo": "GoogleContainerTools/container-structure-test",
"github_stars": 2488,
"github_topics": [],
"homepage": "https://github.com/GoogleContainerTools/container-structure-test",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 198,
"installs_365d": 1446,
"installs_90d": 392,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0",
"llm_generated_at": null,
"llm_model": null,
"name": "container-structure-test",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 2626,
"rank_365d": 3249,
"rank_90d": 3178,
"raw_hash": "eb3d2fd1e3534a42",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/container-structure-test.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "1.22.1",
"versioned_formulae": [],
"why_use_this": null
}