Difference between revisions of "Runc"

From CRIU
Jump to navigation Jump to search
(Created page with "This article provides an overview of CRIU integration with [https://github.com/opencontainers/runc runc] and explains how to use it.")
 
m
Line 1: Line 1:
 
This article provides an overview of CRIU integration with [https://github.com/opencontainers/runc runc] and explains how to use it.
 
This article provides an overview of CRIU integration with [https://github.com/opencontainers/runc runc] and explains how to use it.
 +
 +
== Container Checkpoint/Restore ==
 +
 +
$ mkdir -p alpine-container/rootfs && cd alpine-container
 +
 +
$ wget https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/x86_64/alpine-minirootfs-3.22.2-x86_64.tar.gz && \
 +
  tar -xzf alpine-minirootfs-3.22.2-x86_64.tar.gz -C rootfs && \
 +
  rm -f alpine-minirootfs-3.22.2-x86_64.tar.gz
 +
 +
$ runc spec

Revision as of 18:14, 9 October 2025

This article provides an overview of CRIU integration with runc and explains how to use it.

Container Checkpoint/Restore

$ mkdir -p alpine-container/rootfs && cd alpine-container
$ wget https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/x86_64/alpine-minirootfs-3.22.2-x86_64.tar.gz && \
  tar -xzf alpine-minirootfs-3.22.2-x86_64.tar.gz -C rootfs && \
  rm -f alpine-minirootfs-3.22.2-x86_64.tar.gz
$ runc spec