...
1## crane append
2
3Append contents of a tarball to a remote image
4
5### Synopsis
6
7This sub-command pushes an image based on an (optional)
8base image, with appended layers containing the contents of the
9provided tarballs.
10
11If the base image is a Windows base image (i.e., its config.OS is "windows"),
12the contents of the tarballs will be modified to be suitable for a Windows
13container image.
14
15```
16crane append [flags]
17```
18
19### Options
20
21```
22 -b, --base string Name of base image to append to
23 -h, --help help for append
24 -f, --new_layer strings Path to tarball to append to image
25 -t, --new_tag string Tag to apply to resulting image
26 --oci-empty-base If true, empty base image will have OCI media types instead of Docker
27 -o, --output string Path to new tarball of resulting image
28 --set-base-image-annotations If true, annotate the resulting image as being based on the base image
29```
30
31### Options inherited from parent commands
32
33```
34 --allow-nondistributable-artifacts Allow pushing non-distributable (foreign) layers
35 --insecure Allow image references to be fetched without TLS
36 --platform platform Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default all)
37 -v, --verbose Enable debug logs
38```
39
40### SEE ALSO
41
42* [crane](crane.md) - Crane is a tool for managing container images
43
View as plain text