You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/buildah-commit.1.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,13 @@ will be used. The new file will be owned by UID 0, GID 0, have 0644
29
29
permissions, and be given the timestamp specified to the **--timestamp** option
30
30
if it is specified. This option can be specified multiple times.
31
31
32
+
**--annotation***annotation[=value]*
33
+
34
+
Add an image *annotation* (e.g. annotation=*value*) to the image metadata. Can be used multiple times.
35
+
If *annotation* is named, but neither `=` nor a `value` is provided, then the *annotation* is set to an empty value.
36
+
37
+
Note: this information is not present in Docker image formats, so it is discarded when writing images in Docker formats.
38
+
32
39
**--authfile***path*
33
40
34
41
Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/containers/auth.json. See containers-auth.json(5) for more information. This file is created using `buildah login`.
@@ -55,6 +62,16 @@ Read a JSON-encoded version of an image configuration object from the specified
55
62
file, and merge the values from it with the configuration of the image being
56
63
committed.
57
64
65
+
**--created-annotation**
66
+
67
+
Add an image *annotation* (see also **--annotation**) to the image metadata
68
+
setting "org.opencontainers.image.created" to the current time, or to the
69
+
datestamp specified to the **--source-date-epoch** or **--timestamp** flag,
70
+
if either was used. If *false*, no such annotation will be present in the
71
+
written image.
72
+
73
+
Note: this information is not present in Docker image formats, so it is discarded when writing images in Docker formats.
74
+
58
75
**--creds***creds*
59
76
60
77
The [username[:password]] to use to authenticate with the registry if required.
@@ -350,6 +367,10 @@ not affect the timestamps of layer contents.
350
367
351
368
Require HTTPS and verification of certificates when talking to container registries (defaults to true). TLS verification cannot be used when talking to an insecure registry.
352
369
370
+
**--unsetannotation***annotation*
371
+
372
+
Unset the image annotation, causing the annotation not to be inherited from the base image.
0 commit comments