Resource model

Give a workload a disk, a port or a radio.

A container can use real hardware. The operator chooses the device and the storage that outlives the container. For existing data, Cix can mount a filesystem by UUID and leave its contents in place.

Existing data and firmware

Bring the filesystem you already have.

A volume can adopt an existing disk filesystem by UUID without moving its contents. Cix refuses ownership changes, quotas, snapshots, restore, migration and formatting for adopted data; deleting the volume forgets its record. An absent filesystem does not fall back to an empty directory.

When a supported driver declares missing firmware, Cix can find the matching package output and install it in the host firmware image. Check that the device binds to its driver before assigning it to a workload.

USB devices

Use a dongle that first appears as a disk.

With the default automatic policy, Cix checks a USB device at startup or plug-in. If a matching USB mode-switch rule exists and the device is eligible, the host switches it to its working identity so its driver can bind. Devices in use by the host, held or reserved by a container, or with a disk underneath are excluded.

Inspect the device and its switch status with cixctl device ls. Use cixctl modeswitch-policy set --mode=off to leave switching to the operator. The device still needs a compatible driver and firmware. Read the USB guide.

The nouns

What can a workload use?

Inspect the resource on the host before assigning it to a workload.

Containers

Each workload gets namespaces, a cgroup, an image-derived root, network attachments, resource limits, declared services, and optional hardware.

/v1/containers

Networks

Bridges, veth, routes, VLANs, addresses, physical interfaces, and whole wireless radios are configured through the custom C data plane.

/v1/networks

Storage

Disks and partitions are enumerated live, assigned explicit roles, and can be formatted through a separate destructive action. Filesystem identity and capacity are probed in a helper snapshot, so the API can say “probing” instead of blocking the daemon or guessing that a disk is empty.

/v1/disks/v1/storage-roles

Devices

Discover devices and assign supported hardware to a container. Device-node access, network interface placement, and CPU or memory limits use different kernel mechanisms.

/v1/devices

What an operator controls

Which state survives replacement?

Cix exposes the mechanisms that decide where work runs and what it can touch. The API records intent; the daemon applies it to Linux primitives and reports the result.

01 / Isolation

Namespace containers, with an explicit root boundary.

Workloads use Linux namespaces, cgroup v2 controls, and user namespaces by default. Their image-derived roots are presented through id-mapped mounts; trusted internal build containers may opt out where required. Capability bounding-set trimming still applies. This is a container boundary, not a VM or a complete hypervisor isolation boundary.

  • Linux namespaces, user namespaces, and cgroup v2
  • Id-mapped image-derived roots
  • Capability bounding-set controls
02 / Persistence

Put durable state on volumes.

Volumes outlive containers and can carry an enforced size limit. Usage is measured through the kernel’s quota accounting where available, with the accounting source exposed rather than hidden.

  • Persistent data
  • Size limits
  • Live usage and backups
03 / Hardware

Grant hardware by intent.

Operator-named mappings can follow matching hardware when it moves. Device access is explicit, shared ownership is checked, and attach/revoke is reflected through the API.

  • PCI, USB, GPU, radio
  • Physical network interfaces
  • cgroup device filtering

Hardware boundaries

What to check on your machine.

Check the install guide for your controller and verify the device with the workload that will use it.

Canonical references

Inspect the resource contract.

Use the API and administration guides for exact fields, routes, and machine prerequisites.

Read administration guide Review install boundaries