Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 21 Sep 18:33
· 1015 commits to main since this release
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 kern and to nothing else.
  • A pod maps the sub-uid range by default, as an --image box already did, so a member whose entrypoint drops privilege works without --uid-range. --no-uid-range is the opt-out.
  • ps --last N lists the N most recent boxes across live and exited, newest first.

Fixed

  • --mount readonly=1 mounted the path WRITABLE. --mount is now parsed with the reference CSV grammar; type=bind with a missing source is refused instead of created; unsupported keys are refused by name.
  • Every box leaked its environment sidecar. Only stop removed 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, and prune sweeps 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 push exited 0 having published nothing. compose wait exited 0 whatever the service did. compose down -v could not remove the one volume every stack has. up --no-deps waited out its timeout on a dependency that had already completed.
  • kern exec -i no longer allocates a pseudo-terminal, so exec -i box psql < file.sql reaches 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 doctor is 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 --image row 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 doctor

The tag is signed and timestamped to Bitcoin (provenance/).