commands.sh

crane flatten

all

Flatten an image's layers into a single layer. Pushes digest to original image repository if no tags are specified.

More info →

Options (2)

-t, --tagboolean

Apply new tag to flattened image

Example: crane flatten {{[-t|--tag]}} {{tag_name}}
-h, --helpboolean

Display help

Example: crane flatten {{[-h|--help]}}

Examples (3)

Flatten an image

Apply new tag to flattened image

crane flatten [-t|--tag] tag_name

Display help

crane flatten [-h|--help]
made by @shridhargupta | data from tldr-pages