Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 709 Bytes

crane_flatten.md

File metadata and controls

28 lines (19 loc) · 709 Bytes

crane flatten

Flatten an image's layers into a single layer

crane flatten [flags]

Options

  -h, --help         help for flatten
  -t, --tag string   New tag to apply to flattened image. If not provided, push by digest to the original image repository.

Options inherited from parent commands

      --insecure            Allow image references to be fetched without TLS
      --osversion string    Specifies the OS version.
      --platform platform   Specifies the platform in the form os/arch[/variant] (e.g. linux/amd64). (default all)
  -v, --verbose             Enable debug logs

SEE ALSO

  • crane - Crane is a tool for managing container images