A mini Docker engine built from Linux namespaces and cgroups.
Repo NetCore-Technologies/boxr, read from GitHub 8 h ago. NetCore-Technologies has not joined Take My Repo.
NetCore-Technologies/boxr is a public repo on GitHub by NetCore-Technologies. A mini Docker engine built from Linux namespaces and cgroups. It declares the MIT license on GitHub. It is written mainly in Go, has 2 stars and last changed on 2026-11-23. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-23.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Linux containers, down to the kernel.
A local, limited Docker Engine API is available through an owner-only Unix socket: run boxr daemon and point a compatible client at the printed unix:// socket. The API surface includes ping, version, info, container create/start/stop/list/inspect/logs/stats/events, image pull/push/build/save/load/list/inspect/remove/prune, named and anonymous local-volume create/list/inspect/delete/prune, and managed bridge-network create/list/inspect/connect/disconnect/delete/prune operations, plus validated kill signals and safe removal of created/stopped containers. Some Docker HostConfig.Mounts options and full Docker API compatibility remain unsupported. The daemon also supports one remote TCP listener over mutually authenticated TLS; plaintext TCP is always rejected and every trusted client certificate grants full Engine API authority. Engine API save/load uses Docker archive format, while Boxr stores a flattened single-rootfs-layer image representation and does not preserve original Docker multi-layer build history. Engine API build accepts bounded local tar contexts and Boxr's single-stage Dockerfile subset; BuildKit, remote contexts and multi-stage builds remain unsupported. Container creation currently requires a verified image already present in the local image store. Docker-style HostConfig.Binds can mount an existing Boxr named or anonymous volume or a validated host path; structured mounts support only validated bind, pre-created volume and basic tmpfs types; unsupported mount options and automatic volume creation from image Config.Volumes remain rejected. See the Engine API compatibility guide for the endpoint list and current limitations.
boxr is a small, daemonless Linux container runtime built with Go, Linux namespaces and cgroup v2. It is designed to make the kernel primitives behind containers understandable while providing useful command workflows: root filesystem preparation, run configuration, named container records, resource inspection and reproducible release assets.
It is an early-stage runtime and not a hardened security boundary or Docker replacement. Do not run untrusted workloads with boxr.
--overlay-dir).no_new_privileges, and an opt-in architecture-guarded seccomp baseline denylist. These are defense-in-depth controls, not a sandbox guarantee.ps, inspect, stats, events, logs (tail/follow), stop (graceful TERM then KILL), kill, wait, rm, automatic record removal and age-based pruning.--volume NAME:/PATH[:ro|rw] mounts (requires --rootfs). Export archives are atomically published and never overwrite an existing backup. OverlayFS upper/work data can also persist between runs.boxr features --json), shell completions, cross-platform CLI builds, CI, vulnerability scanning, CodeQL, release checksums and GitHub Pages.The CLI builds for Linux amd64/arm64, Windows amd64, and macOS amd64/arm64. Only Linux supports container execution. Windows and macOS builds are CLI-only.
The release installer downloads the correct Linux architecture, verifies the archive against the release checksum manifest, then installs it:
curl -fsSL https://raw.githubusercontent.com/NetCore-Technologies/boxr/main/install.sh -o boxr-install.sh
bash boxr-install.sh
Use BOXR_VERSION=vX.Y.Z to select a version, or BOXR_INSTALL_DIR to choose an installation directory. Debian/Ubuntu users can install the matching .deb release asset.
Windows CLI-only installer:
irm https://raw.githubusercontent.com/NetCore-Technologies/boxr/main/install.ps1 | iex
Use a supported Go release (Go 1.26.11 or Go 1.27.4 at the current toolchain review). The module requires Go 1.25 or newer for its patched Zstandard decoder; CI tests the Go 1.25, 1.26 and 1.27 release lines.
git clone https://github.com/NetCore-Technologies/boxr.git
cd boxr
make test
make build
Useful targets:
make test # race-enabled tests and coverage
make vet # go vet ./...
make lint # gofmt check and vet
make cross-build # Linux, Windows and macOS CLI binaries
make verify # formatting, vet, race tests and five cross-builds
make clean # remove generated files
Container execution requires Linux and the necessary namespace permissions. Root or a delegated set of capabilities is usually required.
sudo boxr doctor
# Validate a plan without starting a process or writing a container record.
boxr run --dry-run --name preview --env APP_MODE=dev -- /bin/echo hello
sudo boxr run --hostname worker --memory 256m --cpus 1 -- /bin/sh
# Start a background workload that survives the launching terminal.
sudo boxr run --detach --name background-job -- /usr/bin/sleep 3600
boxr ps
boxr logs --follow background-job
sudo boxr stop --time 10s background-job
OverlayFS keeps writes in a persistent upper directory while leaving the supplied rootfs unchanged. The upper/work storage must be on a filesystem that supports OverlayFS; one directory cannot be used by two active containers at once:
sudo boxr run --rootfs /var/lib/boxr/rootfs/alpine \
--overlay-dir /var/lib/boxr/overlays/alpine-dev --mount-proc -- /bin/sh
The upper layer persists across runs using the same overlay directory. It is separate from the content-addressed local image store described below.
Named volumes persist independently of containers. Prepare a root filesystem first, then mount a volume into it:
boxr volume create app-data
sudo boxr run --rootfs /var/lib/boxr/rootfs/alpine --volume app-data:/var/lib/app --mount-proc --overlay-dir /var/lib/boxr/overlays/app -- /bin/sh
A container can be named, labelled and given an isolated root filesystem:
sudo boxr run \
--name web \
--label app=frontend \
--hostname web \
--rootfs /var/lib/boxr/rootfs/alpine \
--mount-proc \
--read-only-rootfs \
--tmpfs /tmp:64m:1777 \
--network none \
--userns \
--no-new-privileges \
--seccomp-profile baseline \
--cap-drop NET_RAW \
--memory 256m --cpus 1 --pids-limit 128 \
-- /bin/sh
--network none creates a private network namespace and enables loopback; it does not configure a veth pair, bridge, NAT, DNS or outbound internet access.
On Linux, boxr run --detach (or -d) starts a separate Boxr supervisor in a new session. The launching CLI waits until the container's namespace helper has passed cgroup configuration and the startup barrier has been released, then prints the container ID and host PID. The supervisor retains the container lifecycle and captures output in the private state/log directory; use boxr ps, boxr logs --follow, boxr stop and boxr rm for normal management. If the startup handshake times out, Boxr does not kill an unknown in-flight supervisor: it leaves it discoverable and directs you to inspect boxr ps --all and the private launch log.
sudo boxr run -d --name worker -- /usr/bin/sleep 3600
boxr ps
boxr logs --follow worker
sudo boxr stop --time 10s worker
sudo boxr rm worker
Detached mode is a per-container supervisor, not a system daemon. It supports bounded restart policies while that supervisor remains alive:
sudo boxr run -d --restart on-failure --restart-max-retries 5 --restart-delay 2s \
--name worker -- /usr/local/bin/worker
no is the default and never restarts.on-failure restarts non-zero exits. --restart-max-retries 0 means unlimited retries; positive values cap the number of attempts after the initial run.always and unless-stopped restart after clean or failed exits while the supervisor is active, unless the container has an explicit stop request.--restart-delay accepts 100ms through 5m; the default is 1s.Restart policies require detached mode and cannot be combined with --rm. Each attempt uses the same container ID and log stream; the record exposes a restarting state and attempt count. boxr stop and terminating boxr kill signals cancel restart backoff and suppress future attempts. This is not reboot recovery: there is no daemon or service-manager to relaunch a supervisor after it exits or the host restarts. Linux namespace permissions and the same runtime security limitations still apply.
boxr ps # active/created containers
boxr ps --all # include completed records
boxr ps --last 5 --quiet # IDs of the five newest records
boxr ps --all --no-trunc # show full command strings
boxr ps --all --filter label=app=frontend
boxr inspect web # JSON state and configuration
boxr logs --tail 100 web # recent stdout/stderr output
boxr logs --follow web # stream output until exit
boxr stop --time 10s web # graceful stop, then forced kill
boxr kill --signal KILL web # send a named signal
boxr exec web /bin/sh # run another process in the container
boxr exec -it web /bin/sh # interactive shell with a real pseudo-terminal
boxr exec -i web /app/import < data.sql
boxr wait web # print the final exit code
boxr stats web # live cgroup metrics; requires an active cgroup
boxr events --limit 50 # recent lifecycle events
boxr events --action die --since 1h --format json
boxr events --container web --action start
boxr rm web # remove a completed record
`boxr exec` enters the running container's existing mount, UTS, IPC, network and PID namespaces (and user namespace when enabled). It inherits the live container environment, accepts additional repeatable `--env` and `--env-file` values, and runs under the container's configured capability, no-new-privileges and seccomp restrictions. When resource limits are configured, the exec launcher joins that container's cgroup before namespace entry so the new process is covered by the same limits. Use `-i` to keep stdin open and `-t` to allocate a controlling pseudo-terminal; TTY mode forwards terminal size changes, combines stdout/stderr as a terminal stream, enters raw mode on the host terminal and restores the original settings on exit. TTY mode requires a terminal attached to stdin, stdout or stderr. Without `-i` or `-t`, stdin is closed for the executed process.
boxr volume create --label app=web web-data
boxr volume ls
boxr volume inspect web-data
boxr volume clone web-data web-data-copy
boxr volume du --json web-data # logical snapshot; symlinks are not followed
boxr volume export --json web-data web-data-backup.tar.gz
# Export refuses to replace an existing file; JSON includes the SHA-256 digest.
boxr volume import web-data-backup.tar.gz web-data-restored
boxr volume import web-data-backup.tar.gz web-data-restored
boxr volume ls --filter label=app=web
boxr volume rm web-data # deletes its data; active use is blocked
boxr volume prune --force # deletes all unused volumes and their data
State is stored under $XDG_STATE_HOME/boxr/containers or ~/.local/state/boxr/containers; set BOXR_STATE_DIR to override it. Volume data is stored under $XDG_DATA_HOME/boxr/volumes or ~/.local/share/boxr/volumes; set BOXR_DATA_DIR to override it. Volume directories use mode 0700 and metadata files use 0600. State directories use mode 0700, record files use 0600, and environment values are deliberately not persisted. Command arguments and labels are persisted for inspection, so do not place secrets in command-line arguments or labels. boxr run --rm removes the state record after the workload exits.
boxr rootfs inspect ./rootfs
boxr rootfs verify ./rootfs
boxr rootfs digest ./rootfs
boxr rootfs verify ./rootfs sha256:EXPECTED_DIGEST
boxr rootfs pack ./rootfs alpine-rootfs.tar.gz
boxr rootfs unpack alpine-rootfs.tar.gz ./unpacked-rootfs
boxr rootfs diff ./rootfs ./unpacked-rootfs
Extraction rejects path traversal, escaping symlinks, duplicate paths, special device files and archives beyond configured file/byte limits. Extraction is staged and atomically renamed into a new destination. File ownership and setuid/setgid metadata are not preserved as a promise of this archive format; review rootfs contents before running them with elevated privileges.
Boxr accepts a single-stage Dockerfile subset and the versioned Boxrfile.json recipe. Dockerfile RUN
NetCore-Technologies/boxr is a public repo on GitHub by NetCore-Technologies. A mini Docker engine built from Linux namespaces and cgroups.
It declares the MIT license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-23. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run boxr. What is known comes from GitHub. It declares the MIT license on GitHub. Its last change was on 2026-11-23. It has 2 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.