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