2.0.0
Breaking Changes
FUSE Removed - Complete Architecture Overhaul
cntr 2.0.0 represents a major architectural redesign. The FUSE-based filesystem approach has been completely removed in favor of a simpler, more reliable implementation using Linux's new mount API and bind mounts.
What this means for users:
- No more FUSE dependency - cntr now works in environments where FUSE is unavailable or restricted
- Simplified codebase with fewer moving parts
- The exec command has now have to be run from outside of
cntrand no longer fromcntr attach; the architecture is now much simpler
New Features
Shell Completions
cntr now ships with shell completions for bash, zsh, fish, and nushell. These are automatically installed with the Nix package.
Run Without Root Using File Capabilities
cntr can now run without full root privileges using Linux file capabilities. Set up with:
sudo setcap 'cap_sys_admin,cap_sys_chroot,cap_sys_ptrace+ep' /path/to/cntr
Then set CNTR_ALLOW_SETCAP=1 environment variable when running. The base directory now uses or for non-root users.