Open main menu
Home
Random
Log in
Settings
About CRIU
Disclaimers
CRIU
Search
Changes
← Older edit
Newer edit →
Runc
(edit)
Revision as of 18:40, 9 October 2025
498 bytes added
,
9 October
m
no edit summary
Line 24:
Line 24:
# Show running containers
# Show running containers
sudo runc list
sudo runc list
+
sudo runc state looper
+
</pre>
+
+
Now the container can be checkpointed:
+
+
<pre>
+
mkdir /tmp/checkpoint
+
sudo runc checkpoint --image-path /tmp/checkpoint --work-path /tmp/checkpoint looper
+
</pre>
+
+
Once the container is checkpointed it will be no longer visible in <code>runc list</code>.
+
+
The following command can be used to restore the container:
+
+
<pre>
+
sudo runc restore --image-path /tmp/checkpoint --work-path /tmp/checkpoint looper
+
+
# Show running containers
+
sudo runc list
+
sudo runc state looper
</pre>
</pre>
Radostin
509
edits