...
1## crane flatten
2
3Flatten an image's layers into a single layer
4
5```
6crane flatten [flags]
7```
8
9### Options
10
11```
12 -h, --help help for flatten
13 -t, --tag string New tag to apply to flattened image. If not provided, push by digest to the original image repository.
14```
15
16### Options inherited from parent commands
17
18```
19 --allow-nondistributable-artifacts Allow pushing non-distributable (foreign) layers
20 --insecure Allow image references to be fetched without TLS
21 --platform platform Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default all)
22 -v, --verbose Enable debug logs
23```
24
25### SEE ALSO
26
27* [crane](crane.md) - Crane is a tool for managing container images
28
View as plain text