blob: 0174b09d83670def127b53de096df1583bdca5eb (
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
|
## crane mutate
Modify image labels and annotations. The container must be pushed to a registry, and the manifest is updated there.
```
crane mutate [flags]
```
### Options
```
-a, --annotation stringToString New annotations to add (default [])
--append strings Path to tarball to append to image
--cmd strings New cmd to set
--entrypoint strings New entrypoint to set
-e, --env stringToString New envvar to add (default [])
-h, --help help for mutate
-l, --label stringToString New labels to add (default [])
-o, --output string Path to new tarball of resulting image
--repo string Repository to push the mutated image to. If provided, push by digest to this repository.
-t, --tag string New tag reference to apply to mutated image. If not provided, push by digest to the original image repository.
-u, --user string New user to set
```
### 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
|