mirror of
https://github.com/apple/container.git
synced 2026-07-14 05:27:02 +00:00
57d89c25aa
- Closes #1252 (part of #913). - Commands that accept `--platform` currently require it to be passed explicitly every time. Users working consistently with a non-native platform (e.g. `linux/amd64` on Apple Silicon) have no way to set a default, unlike Docker's `DOCKER_DEFAULT_PLATFORM`. - This adds support for the `CONTAINER_DEFAULT_PLATFORM` environment variable as a fallback when `--platform` is not explicitly provided.