Open main menu
Home
Random
Log in
Settings
About CRIU
Disclaimers
CRIU
Search
Changes
← Older edit
Newer edit →
Containerd
(edit)
Revision as of 09:12, 26 October 2021
94 bytes added
,
09:12, 26 October 2021
no edit summary
Line 6:
Line 6:
ctr image pull docker.io/library/ubuntu:latest
ctr image pull docker.io/library/ubuntu:latest
−
ctr run -d docker.io/library/ubuntu:latest looper /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
+
ctr run
--runtime io.containerd.runc.v1
-d docker.io/library/ubuntu:latest looper /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
−
ctr containers checkpoint looper cr0
−
ctr task kill -s SIGKILL looper
+
Create container checkpoint
−
ctr task rm looper
−
ctr
containers rm
looper
+
ctr
c checkpoint --rw --task
looper
checkpoint/looper:20211011
+
+
Restore container from checkpoint
+
+
ctr c restore looper-1 checkpoint/looper:20211011
Radostin
332
edits