Cedana
Cedana Daemon
Cedana
Cedana Daemon
  • Cedana Daemon
  • Get started
    • Installation
    • Authentication
    • Configuration
    • Health checks
    • Plugins
    • Feature matrix
  • Guides
    • Managed process/container
    • Checkpoint/restore basics
    • Checkpoint/restore with GPUs
    • Checkpoint/restore runc
    • Checkpoint/restore containerd
    • Checkpoint/restore streamer
    • Checkpoint/restore kata
      • how-to-create-custom-busybox-image
      • how-to-install-criu-in-guest
      • how-to-install-on-aws
      • how-to-make-kernel-criu-compatible
      • how-to-make-rootfs-criu-compatible
      • Checkpoint/Restore kata containers
  • Developer guides
    • Architecture
    • Profiling
    • Testing
    • Writing plugins
  • References
    • CLI
      • cedana
      • cedana attach
      • cedana checkpoint
      • cedana checkpoints
      • cedana completion
      • cedana completion bash
      • cedana completion fish
      • cedana completion powershell
      • cedana completion zsh
      • cedana daemon
      • cedana daemon check
      • cedana daemon start
      • cedana delete
      • cedana dump
      • cedana dump containerd
      • cedana dump job
      • cedana dump process
      • cedana dump runc
      • cedana exec
      • cedana features
      • cedana inspect
      • cedana job
      • cedana job attach
      • cedana job checkpoint
      • cedana job checkpoint inspect
      • cedana job checkpoint list
      • cedana job checkpoints
      • cedana job delete
      • cedana job inspect
      • cedana job kill
      • cedana job list
      • cedana jobs
      • cedana k8s-helper
      • cedana k8s-helper destroy
      • cedana kill
      • cedana manage
      • cedana manage containerd
      • cedana manage process
      • cedana manage runc
      • cedana plugin
      • cedana plugin features
      • cedana plugin install
      • cedana plugin list
      • cedana plugin remove
      • cedana plugins
      • cedana ps
      • cedana query
      • cedana query k8s
      • cedana query runc
      • cedana restore
      • cedana restore job
      • cedana restore process
      • cedana restore runc
      • cedana run
      • cedana run containerd
      • cedana run process
      • cedana run runc
    • API
    • GitHub
Powered by GitBook
On this page
  • Prerequisites
  • Build from source
  • Download from releases
  • Install CRIU
  • Start the daemon
  • Health check the daemon

Was this helpful?

Edit on GitHub
  1. Get started

Installation

PreviousCedana DaemonNextAuthentication

Last updated 2 months ago

Was this helpful?

For now, you can either install the daemon from source, or use the released binaries.

Prerequisites

Since Cedana depends on , you will need to ensure it's dependencies are installed. For Ubuntu, you can install them with:

apt-get install -y python3-protobuf libnet1 libnftables1 libnl-3-200 libprotobuf-c1 iptables

Build from source

To build:

make build

To install:

make install

To build and install (with all plugins):

make all

Try make help to see all available targets.

Download from releases

Download the latest release from the .

curl -L -o cedana.tar.gz https://github.com/cedana/cedana/releases/download/v${CEDANA_VERSION}/cedana_${CEDANA_VERSION}_linux_amd64.tar.gz
tar -xzf cedana.tar.gz cedana
mv cedana /usr/local/bin/cedana
rm cedana.tar.gz

Install CRIU

A modified version of CRIU is shipped as a plugin for Cedana, so you don't need to install it separately. You can simply do:

sudo cedana plugin install criu

Start the daemon

You can directly start the daemon with:

make start

The daemon requires root privileges for checkpoint/restore operations.

If you're a systemd user, you may also install it as a service:

make install-systemd

Try make help to see all available targets.

Health check the daemon

This version of CRIU is not a requirement for Cedana, but it is recommended for certain features, such as .

Note that, to install a plugin from the online registry, you need to be . See for more information.

To install CRIU independently, see the .

The daemon can be health checked to ensure it fully supports the system and is ready to accept requests. See for more information.

CRIU
releases
checkpoint/restore streamer
authenticated
plugins
CRIU installation guide
health checks