Description
Image contents can be tested for expected files, commands, metadata, users, and exposed ports before release. It is useful for CI pipelines that need confidence that a container image was built with the intended structure.
Structure tests validate declared expectations, not every security or runtime issue. Combine them with vulnerability scanning and real application tests for production images.