fix: Pull platform-specific container images by default by Sunsvea · Pull Request #455 · apple/container

added 2 commits

August 6, 2025 11:29
- Change ImagePull CLI to default to Platform.current when no --platform specified
- Reduces downloads from ~8GB to ~350MB for multi-arch images
- Maintains backward compatibility with explicit --platform flag
- Add test to verify default platform behavior
- Use busybox instead of alpine to avoid cache conflicts with other tests
- Test now properly verifies single-platform pulling behavior

This was referenced

Nov 9, 2025