== Restoring a Checkpointed Container within Kubernetes ==
== Restoring a Checkpointed Container within Kubernetes ==
−
To restore a checkpointed container in Kubernetes it is necessary to convert the checkpoint archive into an image that can be pushed to a registry.
+
To restore a checkpointed container in Kubernetes it is necessary to convert the checkpoint archive into an OCI image that can be pushed to a registry.
+
+
=== Creating an OCI Image from a Checkpoint ===
+
+
The <code>checkpointctl build</code> command creates an OCI image from a checkpoint archive. It extracts container metadata from the checkpoint and uses [https://github.com/containers/buildah Buildah] to create an annotated image so the container runtime recognizes that it contains a checkpoint.