Repository navigation
FAQ
No. There is no daemon, no image format, no layers and no registry. A capsule is a directory with a signature, and capsule run is the parent process of the program it starts. If nothing is running, nothing of capsule is running.
Three checks, every time, before anything starts: the seal must match the files, the signer must be a key this host trusts, and the policy sealed into the manifest must hold. A refusal is written to the host's signed log.
No. Capsules run without root in a user namespace. Membership of the capsule group adds, through the helper, the few things only root can do: fast tunnels, sized and encrypted volumes, ports below 1024 and the latency profile. Without root needs systemd; see Supported Systems.
Put the application and its runtime in the root filesystem and name the command in the manifest. A large Java service is a root filesystem holding a JRE and the service's jar, with java -jar as the command. The examples build a Python and a Java application this way, and a CUE build file can assemble the root filesystem for you (Guide, section 10).
Through a ledger: a shared folder, an S3-compatible bucket, Vault or Artifactory. Releases, signed orders and the tissue live there, and each host reads it on a timer. Hosts never take instructions from each other, only from signed documents they can check themselves.
Orchestration without a scheduler. See Concepts.
About one lease (seconds) by default. With a hot standby and detect set, a standby on another machine took over roughly 100 ms after its holder fell silent in our tests on three real servers.
Ubuntu, Debian, Rocky Linux (the RHEL family), Fedora and openSUSE fully, and Alpine as root. See Supported Systems.
Capsules run only on Linux. On macOS you can build, seal and sign capsules and run them on Linux hosts.
The latency profile gives a program dedicated cores, locked memory, huge pages and its own network card, and in our measurements a capsule with it matched the bare host. See Latency Profile for the numbers and their limits.
Root on the host, above all: root can read a running capsule's memory and alter the host's own state. Also a wrong clock for expires, and a local log rewritten by whoever holds the host secret unless it is published or forwarded. The README lists every limit plainly.
Privately, as the security policy describes. Please do not open a public issue.
Apache 2.0.
capsule is source-available under the Functional Source License 1.1 (Apache 2.0 after two years). This wiki describes release 0.16.0; the documentation in the repository is the reference for each version.
capsule
In the repository