Skip to content

Commit 7ac8397

Browse files
committed
docs: add manifest annotate command reference
add manifest annotate command reference Signed-off-by: ChengyuZhu6 <[email protected]>
1 parent dbf3752 commit 7ac8397

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/command-reference.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ It does not necessarily mean that the corresponding features are missing in cont
5252
- [:nerd_face: nerdctl image encrypt](#nerd_face-nerdctl-image-encrypt)
5353
- [:nerd_face: nerdctl image decrypt](#nerd_face-nerdctl-image-decrypt)
5454
- [Manifest management](#manifest-management)
55+
- [:whale: nerdctl manifest annotate](#whale-nerdctl-manifest-annotate)
5556
- [:whale: nerdctl manifest create](#whale-nerdctl-manifest-create)
5657
- [:whale: nerdctl manifest inspect](#whale-nerdctl-manifest-inspect)
5758
- [Registry](#registry)
@@ -1040,6 +1041,27 @@ Flags:
10401041

10411042
## Manifest management
10421043

1044+
### :whale: nerdctl manifest annotate
1045+
1046+
Add additional information to a local image manifest.
1047+
1048+
Usage: `nerdctl manifest annotate [OPTIONS] INDEX/MANIFESTLIST MANIFEST`
1049+
1050+
Flags:
1051+
1052+
- :whale: `--os`: Set operating system (e.g., "linux", "windows", "freebsd")
1053+
- :whale: `--arch`: Set architecture (e.g., "amd64", "arm64", "arm")
1054+
- :whale: `--os-version`: Set operating system version (e.g., "10.0.19041")
1055+
- :whale: `--variant`: Set architecture variant (e.g., "v7", "v8")
1056+
- :whale: `--os-features`: Set operating system features (e.g., "win32k")
1057+
1058+
Examples:
1059+
1060+
```bash
1061+
nerdctl manifest annotate myapp:latest alpine@sha256:eafc1edb577d2e9b458664a15f23ea1c370214193226069eb22921169fc7e43f \
1062+
--os linux --arch arm --variant v7 --os-features feature1,feature2
1063+
```
1064+
10431065
### :whale: nerdctl manifest create
10441066

10451067
Create a local index/manifest list.

0 commit comments

Comments
 (0)