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, --tagbooleanApply new tag to flattened image
Example:
crane flatten {{[-t|--tag]}} {{tag_name}}-h, --helpbooleanDisplay help
Example:
crane flatten {{[-h|--help]}}Examples (3)
Flatten an image
Apply new tag to flattened image
crane flatten [-t|--tag] tag_nameDisplay help
crane flatten [-h|--help]made by @shridhargupta | data from tldr-pages