Skip to content

Commit 6e23148

Browse files
committed
docs: add manifest create command reference
add manifest create command reference. Signed-off-by: ChengyuZhu6 <[email protected]>
1 parent a663bd0 commit 6e23148

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/command-reference.md

Lines changed: 18 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 create](#whale-nerdctl-manifest-create)
5556
- [:whale: nerdctl manifest inspect](#whale-nerdctl-manifest-inspect)
5657
- [Registry](#registry)
5758
- [:whale: nerdctl login](#whale-nerdctl-login)
@@ -1039,6 +1040,23 @@ Flags:
10391040

10401041
## Manifest management
10411042

1043+
### :whale: nerdctl manifest create
1044+
1045+
Create a local index/manifest list.
1046+
1047+
Usage: `nerdctl manifest create [OPTIONS] INDEX/MANIFESTLIST MANIFEST [MANIFEST...]`
1048+
1049+
Flags:
1050+
1051+
- `--amend`: Amend the existing index/manifest list
1052+
- `--insecure`: Allow communication with an insecure registry
1053+
1054+
Example:
1055+
1056+
```bash
1057+
nerdctl manifest create myapp:latest alpine@sha256:eafc1edb577d2e9b458664a15f23ea1c370214193226069eb22921169fc7e43f
1058+
```
1059+
10421060
### :whale: nerdctl manifest inspect
10431061

10441062
Display the contents of a manifest list or manifest.

0 commit comments

Comments
 (0)