LinuxCommandLibrary

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]
copy
Append from file
$ crane append --base [gcr.io/project/image] --new_layer [layer.tar] --new_tag [gcr.io/project/image:v2]
copy

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.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community