Expand description
NspawnBackend — systemd-nspawn based sandbox isolation
Runs each sandbox as a lightweight container via systemd-nspawn,
bind-mounting the host root filesystem (--directory=/) with ephemeral
/tmp and /run. Provides network isolation via --network-veth and
GPU pass-through via device bind-mounts.
Service discovery uses host-side IPC paths namespaced by
HYPRSTREAM_INSTANCE rather than network IP, avoiding timing issues
with veth IP assignment.
Structs§
- Nspawn
Backend - systemd-nspawn sandbox backend.
- Nspawn
Config - Configuration for the nspawn backend.
- Nspawn
Handle - Backend-specific state stored on each
PodSandbox.