diff options
author | Radostin Stoyanov <radostin@redhat.com> | 2022-08-27 15:38:34 +0200 |
---|---|---|
committer | Radostin Stoyanov <radostin@redhat.com> | 2022-09-29 13:33:07 +0100 |
commit | 9c3d8bb494f358ecff785ba81a58f2e05f1a98a1 (patch) | |
tree | 1041856c5a4e13444b3cae49c471bc4ab737d3a6 /libpod/lock/file_lock_manager.go | |
parent | b17d8ff46d390350fb617de7456e08a8dd358753 (diff) | |
download | podman-9c3d8bb494f358ecff785ba81a58f2e05f1a98a1.tar.gz podman-9c3d8bb494f358ecff785ba81a58f2e05f1a98a1.tar.bz2 podman-9c3d8bb494f358ecff785ba81a58f2e05f1a98a1.zip |
cmd/podman: add support for checkpoint images
This patch extends the podman run command with support for checkpoint
images. When `podman run` is invoked with an image that contains
a checkpoint, it would restore the container from that checkpoint.
Example:
podman run -d --name looper busybox /bin/sh -c \
'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
podman container checkpoint --create-image checkpoint-image-1 looper
podman run checkpoint-image-1
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
Diffstat (limited to 'libpod/lock/file_lock_manager.go')
0 files changed, 0 insertions, 0 deletions