Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Runc
(edit)
Revision as of 18:40, 9 October 2025
498 bytes added
,
18:40, 9 October 2025
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
568
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