Merge pull request #3430 from tonistiigi/imagetools-create-platforms

imagetools: add platforms filter to imagetools create
This commit is contained in:
Tõnis Tiigi
2025-09-23 08:47:52 -07:00
committed by GitHub
6 changed files with 189 additions and 37 deletions
@@ -17,6 +17,7 @@ Create a new image based on source images
| `-D`, `--debug` | `bool` | | Enable debug logging |
| [`--dry-run`](#dry-run) | `bool` | | Show final image instead of pushing |
| [`-f`](#file), [`--file`](#file) | `stringArray` | | Read source descriptor from file |
| `-p`, `--platform` | `stringArray` | | Filter specified platforms of target image |
| `--prefer-index` | `bool` | `true` | When only a single source is specified, prefer outputting an image index or manifest list instead of performing a carbon copy |
| `--progress` | `string` | `auto` | Set type of progress output (`auto`, `plain`, `tty`, `rawjson`). Use plain to show container output |
| [`-t`](#tag), [`--tag`](#tag) | `stringArray` | | Set reference for new image |