Skip to content

Commit 9747175

Browse files
committed
docs: add checkpoint create command reference
add checkpoint create command reference. Signed-off-by: ChengyuZhu6 <[email protected]>
1 parent 9df5f8a commit 9747175

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/command-reference.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ It does not necessarily mean that the corresponding features are missing in cont
5353
- [:nerd_face: nerdctl image convert](#nerd_face-nerdctl-image-convert)
5454
- [:nerd_face: nerdctl image encrypt](#nerd_face-nerdctl-image-encrypt)
5555
- [:nerd_face: nerdctl image decrypt](#nerd_face-nerdctl-image-decrypt)
56+
- [Checkpoint management](#checkpoint-management)
57+
- [:whale: nerdctl checkpoint create](#whale-nerdctl-checkpoint-create)
5658
- [Manifest management](#manifest-management)
5759
- [:whale: nerdctl manifest annotate](#whale-nerdctl-manifest-annotate)
5860
- [:whale: nerdctl manifest create](#whale-nerdctl-manifest-create)
@@ -1060,6 +1062,18 @@ Flags:
10601062
- `--platform=<PLATFORM>` : Convert content for a specific platform
10611063
- `--all-platforms` : Convert content for all platforms (default: false)
10621064

1065+
## Checkpoint management
1066+
1067+
### :whale: nerdctl checkpoint create
1068+
1069+
Create a checkpoint from a running container.
1070+
1071+
Usage: `nerdctl checkpoint create [OPTIONS] CONTAINER CHECKPOINT`
1072+
1073+
Flags:
1074+
- :whale: `--leave-running`: Leave the container running after checkpoint
1075+
- :whale: `checkpoint-dir`: Use a custom checkpoint storage directory
1076+
10631077
## Manifest management
10641078

10651079
### :whale: nerdctl manifest annotate

0 commit comments

Comments
 (0)