crane-append

add layers to container images

TLDR

Append a layer to an existing image
$ crane append -b [base_image] -f [layer.tar.gz] -t [new_image:tag]
Append from file
$ crane append --base [gcr.io/project/image] --new_layer [layer.tar] --new_tag [gcr.io/project/image:v2]

SYNOPSIS

crane append [options]

DESCRIPTION

crane append adds a new layer to an existing container image without pulling the entire image. This is useful for adding files or configuration to existing images efficiently.Part of the crane CLI tool for container registry operations.

PARAMETERS

-b, --base image

Base image to append to.
-f, --new_layer file
Layer tarball to append.
-t, --new_tag image
Tag for the resulting image.

INSTALL

sudo pacman -S crane
sudo apk add crane
sudo zypper install crane
brew install crane
nix profile install nixpkgs#crane

SEE ALSO

crane(1), crane-mutate(1)

RESOURCES

Source code · Documentation