Changes
Jump to navigation
Jump to search
← Older edit
Podman
(edit)
Revision as of 17:05, 20 May 2025
498 bytes added
,
20 May
m
no edit summary
Line 119:
Line 119:
$ sudo podman rm looper-1 looper-2
$ sudo podman rm looper-1 looper-2
$ sudo podman container restore checkpoint-1 checkpoint-2
$ sudo podman container restore checkpoint-1 checkpoint-2
+
+
== Container Pre-Checkpointing ==
+
+
The following example demonstrates how to use Podman's pre-checkpoint feature:
+
+
$ sudo podman run -d --name looper busybox /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
+
$ sudo podman container checkpoint --pre-checkpoint -l -e /tmp/pre.tar
+
$ sudo podman container checkpoint --with-previous --export /tmp/test.tar.gz -l
+
$ sudo podman rm -l
+
$ sudo podman container restore --import /tmp/test.tar.gz --import-previous /tmp/pre.tar
Radostin
509
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ