Containerd

From CRIU
Revision as of 18:42, 17 October 2021 by Radostin (talk | contribs) (Created page with "This article describes the status of checkpoint/restore integration with [https://containerd.io/ containerd], and how to use it. == Container Checkpoint/Restore == Create a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This article describes the status of checkpoint/restore integration with containerd, and how to use it.

Container Checkpoint/Restore

Create a container with ID "looper" based on the "ubuntu:latest" image.

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 task kill -s KILL looper
tr task rm looperc
ctr containers rm looper