Repository navigation
v0.10.0
99 commits since v0.9.35. Full detail in CHANGELOG.md.
Read these first if you are upgrading
- The binary answers to
kernand to nothing else. - A pod maps the sub-uid range by default, as an
--imagebox already did, so a member whose entrypoint drops privilege works without--uid-range.--no-uid-rangeis the opt-out. ps --last Nlists the N most recent boxes across live and exited, newest first.
Fixed
--mount readonly=1mounted the path WRITABLE.--mountis now parsed with the reference CSV grammar;type=bindwith a missing source is refused instead of created; unsupported keys are refused by name.- Every box leaked its environment sidecar. Only
stopremoved it, so a box that simply exited left it forever: 4433 files and 13 MB measured after one day, with no box alive. Removed at teardown, andprunesweeps it. - Stopping a pod's last member removed the pod and letting that member exit did not. A pod created by name now survives being emptied.
- A cell could forge a sandbox verdict with one leading space.
compose pushexited 0 having published nothing.compose waitexited 0 whatever the service did.compose down -vcould not remove the one volume every stack has.up --no-depswaited out its timeout on a dependency that had already completed.kern exec -ino longer allocates a pseudo-terminal, soexec -i box psql < file.sqlreaches EOF instead of hanging.
Faster
A box that drops every capability stops paying for a uid range it cannot use: -937 us, a quarter of a cold --image box. Paired, n=300, interval [-959, -912]. Any --cap-add cancels the skip.
Compatibility surface
box --mount, --name, --rm, network inspect, the image verb group, images <repo> with --format, pull --quiet, inspect --format answering {{json .NetworkSettings.Ports}}, kern port, logs --since/--until, ps --filter health=, --no-trunc, images --filter, stats --no-stream, and build reading a Containerfile.
Also
kern doctoris the first command after install. On Ubuntu 23.10+ it names the one root command a host needs before its first box.- The canonical latency figure is the
box --imagerow of BENCHMARKS.md, which carries the machine, the method and the date. A gate checks every other page against it. - kern-sandbox 0.2.31 on PyPI and npm.
Install
curl -fsSL https://raw.githubusercontent.com/getkern/kern/main/install.sh | sh
kern doctorThe tag is signed and timestamped to Bitcoin (provenance/).