Skip to content

CageForge/nexcage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

612 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

NexCage

Next-generation container runtime for Proxmox VE using LXC and OCI backends (crun/runc).

Compatibility Snapshot

  • OCI Runtime Specification: fully parses Linux additions up to v1.3.0 (NUMA memoryPolicy, Intel RDT monitoring, netDevices inventory) using the external oci-specs-zig package.

  • Network integration: linux.netDevices aliases are applied to pct --netX arguments and /etc/network/interfaces with automatic bridge fallback.

  • Proxmox VE: verified on 8.x hypervisors; upcoming work tracks 9.x updates.

  • libcrun ABI (required for crun): build compiles vendored sources from deps/crun; run make prepare-crun to refresh headers. Requires pkg-config access to libsystemd; the build fails if those development files are missing.

  • Architecture: amd64 (x86_64) only

  • Environment: runs on Proxmox VE host (no containerization)

Archival Policy

  • Deprecated documentation and code are moved to archive/
  • Legacy code is kept under archive/legacy/ and may be removed in future

Quick Start (Ubuntu 22.04/24.04)

  1. Install dependencies
sudo apt-get update -y
sudo apt-get install -y \
  build-essential autoconf automake libtool pkg-config \
  libyajl-dev libcap-dev libseccomp-dev libsystemd-dev \
  libbpf-dev libapparmor-dev libselinux1-dev libcriu-dev
  1. Install Zig 0.15.1 (or use CI setup) — dependencies are resolved through build.zig.zon, including oci-specs-zig.
# See https://ziglang.org/download/ for binary tarball
zig version  # should print 0.15.1
  1. Build and run (default)
zig build
./zig-out/bin/nexcage --help
./zig-out/bin/nexcage version
  1. Build with vendored libcrun (project policy)
make prepare-crun        # generates vendored headers and checks deps
make build-vendored      # builds with -Duse-vendored-libcrun=true

CLI Examples

# Show command-specific help
./zig-out/bin/nexcage create --help

# List containers (LXC)
./zig-out/bin/nexcage list --runtime lxc

Development

  • Dev quickstart: see docs/DEV_QUICKSTART.md
  • CLI reference: see docs/CLI_REFERENCE.md
  • Architecture overview: see docs/architecture/OVERVIEW.md
  • ADRs: see docs/architecture/

Testing

Security & Policies

  • Security policy: SECURITY.md
  • Maintainers/Governance: MAINTAINERS.md, GOVERNANCE.md
  • Reproducible builds: REPRODUCIBLE_BUILDS.md

About

Next-generation OCI runtime — hybrid isolation, pure performance, one runtime to rule them all.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

23 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages