Optionally resolve wrapper index to single-platform manifest based on `com.apple.containerization.index.indirect` annotation by stevapple · Pull Request #397 · apple/container

and others added 2 commits

July 30, 2025 23:59
Upon an indirect manifest, return the original manifest instead of the wrapper
index. This ensures that the manifest returned by 'container image inspect'
matches the original image digest.
- Add displayDigest() method to ClientImage to return original manifest
  digest for single-manifest images instead of wrapper index digest
- Update container image list (both normal and verbose modes) to use
  displayDigest() for consistent digest display
- Ensures digest shown in image list matches the digest from image inspect

Related to issue apple#212

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

@stevapple

This will help us unify the implementation of indirect image resolution.

adityaramani

adityaramani

@stevapple

@stevapple

@stevapple

adityaramani