githubEdit

Installation

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

Prerequisites

Since Cedana depends on CRIUarrow-up-right, you will need to ensure its dependencies are installed.

Using apt (Ubuntu/Debian)

apt-get install -y libnet-dev libprotobuf-c-dev libnl-3-dev libbsd-dev libcap-dev libseccomp-dev libgpgme11-dev libnftables-dev

Using dnf/yum (Fedora/CentOS)

yum install -y libnet-devel protobuf-c-devel libnl3-devel libbsd-devel libcap-devel libseccomp-devel gpgme-devel nftables-devel

Download latest release

circle-info

Cedana is supported on both linux/amd64 and linux/arm64 platforms.

Using public installer:

curl -fsSL https://github.com/cedana/cedana/releases/latest/download/install-release.sh | sudo -E bash

Using authenticated installer (see Authentication):

export CEDANA_URL=https://myorg.cedana.ai/v1
export CEDANA_AUTH_TOKEN=your_auth_token

curl -fsSL ${CEDANA_URL}/install?version=latest -H "Authorization: Bearer ${CEDANA_AUTH_TOKEN}" | sudo -E bash
circle-info

You can also find the latest binaries at releasesarrow-up-right. Ensure /usr/local/bin is in your PATH.

Build from source

Clone the cedana repositoryarrow-up-right and navigate into it.

Build

Install

circle-info

Try make help to see all available targets.

Install CRIU

circle-check

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:

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

circle-info

To install CRIU independently, see the CRIU installation guidearrow-up-right.

Start the daemon

circle-exclamation

Direct

You can directly start the daemon with:

Systemd

If you're a systemd user, you may also install it as a service (if built from source):

circle-info

Try make help to see all available targets.

Health check the daemon

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

Last updated

Was this helpful?