commands.sh

crane append

all

Push an image based on an (optional) base image. Appends layers containing the contents of the provided tarballs.

More info →

Options (5)

-b, --baseboolean

Push image based on a base image

Example: crane append {{[-b|--base]}} {{image_name}}
-f, --new_layerboolean

Push image with appended layer from tarball

Example: crane append {{[-f|--new_layer]}} {{layer_name1 layer_name2 ...}}
-t, --new_tagboolean

Push image with appended layer with new tag

Example: crane append {{[-t|--new_tag]}} {{tag_name}}
-o, --outputboolean

Push resulting image to new tarball

Example: crane append {{[-o|--output]}} {{path/to/tarball}}
-h, --helpboolean

Display help

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

Examples (7)

Push image based on a base image

crane append [-b|--base] image_name

Push image with appended layer from tarball

crane append [-f|--new_layer] layer_name1 layer_name2 ...

Push image with appended layer with new tag

crane append [-t|--new_tag] tag_name

Push resulting image to new tarball

crane append [-o|--output] path/to/tarball

Use empty base image of type OCI media instead of Docker

crane append --oci-empty-base

Annotate resulting image as being based on the base image

crane append --set-base-image-annotations

Display help

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