container-structure-test
« Back to VersTracker
Description:
Validate the structure of your container images
Type: Formula  |  Latest Version: 1.22.1@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: testing containers devops oci validation
Install: brew install container-structure-test
About:
Container Structure Test provides a framework for validating container image configurations against defined test cases. It allows developers to verify filesystem structure, file metadata, and command outputs without needing to run the container. This ensures images meet security, compliance, and operational standards before deployment.
Key Features:
  • Supports multiple test types: command, file existence, file content, and metadata checks
  • Extensible plugin system for custom validation logic
  • Outputs results in multiple formats (JUnit, JSON, verbose text)
  • Works with Docker, containerd, and other OCI-compliant runtimes
Use Cases:
  • CI/CD pipeline integration for automated image validation
  • Security compliance scanning for production images
  • Ensuring base image updates haven't broken application dependencies
Alternatives:
  • Trivy – Trivy focuses on vulnerability scanning, while container-structure-test validates image configuration and filesystem state.
License: Apache-2.0
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Dec 16, 2025 10:56pm 0 VERSION_BUMP a32a6a58
Nov 14, 2025 6:45am 0 VERSION_BUMP 1c4031a9
Oct 10, 2025 12:02pm 0 VERSION_BUMP d3bf8f46
Oct 1, 2025 11:14pm 0 VERSION_BUMP ebbbe8d7
Sep 14, 2025 2:04am 0 VERSION_BUMP 875e4880
Oct 22, 2024 8:14pm 0 VERSION_BUMP e8caef2c
Oct 22, 2024 12:58am 0 VERSION_BUMP 0fc3f142
Oct 22, 2024 12:38am 0 VERSION_BUMP 904708f1