- Volumes & Networks `Used by` column (`#1062`): show container consumer counts, per-state badges, and escaped container-name tooltips on Volumes and Networks across macOS, Windows, and Linux, with `Used by` column sorting on Volumes.
- Window script type-check fixes (`#1033`): pass `String(!on)` to `aria-pressed` in `setRail`, check `Number.isNaN(d.getTime())` in `dgTime`, and sequence `closeMenu()` / `showMenu()` in a block in `[data-smore]`.
- Log sort order toggle (`#1081`): add `Oldest first` (default) / `Newest first` sorting across Container detail Logs, Compose project Logs, and Pod Logs across macOS, Windows, and Linux, preserving live streaming, scroll pinning, search/level filtering, and translations across all 41 locale files.
- Linux `fontconfig` WebKit stall recovery & doctor warning (`#1078`): add a 5-second startup watchdog in `gtk.rs` that detects a `WebKitWebProcess` startup stall with a populated user `~/.cache/fontconfig`, logs the cause to `ui.log`, records a cache fingerprint bypass stamp, and re-launches cleanly with `XDG_CACHE_HOME=~/.kiri/cache/ui`, restoring user `XDG_CACHE_HOME` for spawned terminals and surfacing an actionable `fc-cache -rf` warning in `kiri doctor`.
- Docs & fix registry (`#1080`): fix the relative link to `testing-windows-arm.md` in `docs/development.md` and record recent unreleased bug fixes in `docs/fix-registry.md`.
Fixes#1081Fixes#1078Closes#1062Closes#1033Closes#1080
Co-authored-by: shihh <shihao1016@qq.com>
Co-authored-by: AnuchitO <3372362+AnuchitO@users.noreply.github.com>
Co-authored-by: Bryan Lundberg <119996547+bryanlundberg@users.noreply.github.com>
kiri setup on macOS no longer adds Kiri's plugin folder to cliPluginsExtraDirs in ~/.docker/config.json, which put Kiri's docker-compose and docker-buildx ahead of other engines' plugins for every Docker context.
Setup now removes Kiri's entry from an earlier setup and links each plugin into ~/.docker/cli-plugins only when the Docker CLI would find none. A plugin that is someone else's is kept and named in one line. A Kiri link that hides a plugin installed later is removed. kiri setup --uninstall removes the links that point into Kiri.
Fixes#1042
The Linux package build now fetches the pinned kiri-forge for each architecture, checks it against the SHA-256 in cli_pins.rs and bundles it, as the Mac and Windows builds do; before, /usr/bin/kiri-forge in the packages was a link to kiri. A release build stops if the binary is missing.
The bundled Kiri Forge is 0.1.1. docs/releases/0.3.0.md holds the notes for 0.3.0 and docs/releases/0.3.0.announce.json its announcement.
Another bridged/shared VM on the same Mac can reply to Kiri's Mac IP with TX checksum offload still unfinished (pseudo-header sum only). Because Virtualization.framework's NAT forwards the frame inside macOS without passing a hardware NIC or setting VIRTIO_NET_HDR_F_DATA_VALID, the guest drops the replies on both host and bridged-container paths.
Add 0011-virtio-net-repair-unfinished-checksums.patch in virtnet_receive_done() before 0002's big-TCP GSO hook to verify unflagged non-GSO IPv4/IPv6 TCP, UDP, ICMP, and ICMPv6 packets, rewrite invalid L4 checksums in place (leaving fragments, malformed headers, IPv6 extension headers, and IPv4 UDP checksum 0 untouched), and mark them CHECKSUM_UNNECESSARY.
Thanks to @JDENredden for the detailed diagnosis and initial patch.
* security: harden mount/volume confinement, WSL roots, caller gates, labels & domain routing
* net: isolate --internal bridges/DNS, support gateway_mode_ipv4 & host_binding_ipv4
- GHSA-gp5c-4g58-vr24 & #1010: enforce nftables isolation for --internal
bridges across prerouting (early accept before HOST_ADDR/WSL_HOST_ADDR/
EGRESS_ROUTES redirects), forward (iifname/oifname cross-bridge drops in
both ip and ip6 tables even when non-internal subnets are empty), input
(allow only bridge gw4 or NDP+gw6 on plain internal bridges; drop all
on gateway_mode_ipv4=isolated / inhibit_ipv4=true), and postrouting
(never masquerade internal subnets; disable IPv6 on IPv4-only internal
bridges).
- GHSA-7x2g-c7pw-mpc6: refuse external UDP and TCP DNS forwarding on
internal-only containers before custom --dns and AAAA handling, track
all container bridges including kiri0 across spawn/NetAttach/NetDetach
with vacuous internal_only when disconnected from all networks, and
bind per-bridge UDP and TCP gateway DNS listeners with SO_BINDTODEVICE
when bridge != kiri0.
- GHSA-vmx6-3c4p-cjr2 (#985): honor com.docker.network.bridge.host_binding_ipv4
for TCP and UDP published ports with empty HostIp while keeping empty
value as unset, validating Ipv4Addr at network create and use, and
preserving #1011 names_sync lock ordering around container start gate.
- #1000: honor com.docker.network.bridge.enable_icc=false via IFLA_BRPORT_ISOLATED.
- #1008: support KIRI_HOST_LOOPBACK=off to block host loopback via host.docker.internal.
- #992: refuse 'default' network name and network/broadcast IPAM gateway or
auxiliary addresses for prefix < 31 without /31 or /32 shift overflow.
* Verify image rootfs.diff_ids, pin managed BuildKit, and bound rmtree FDs
* security: fix AppArmor profile, WebView URL/CSP/i18n, k3s kubeconfig/pinning, elevation TOCTOU & MSI verification, and diag redaction
- GHSA-xx5v-42pc-2x72: enforce Linux AppArmor kiri-default profile with
PROC_SUPER_MAGIC verification on /proc/thread-self/attr/apparmor/{exec,current}
and Host::Absent no-op on SELinux/VM/WSL2 hosts.
- GHSA-hmxq-c9pq-2fm2: add strict weburl allowlist (preserving all 13 exact
URLs and non-empty docs.docker.com/go/ subpath check), localUrl plainHost
validation (preserving rports running/serving guard), strict WebView CSP and
navigation blocking on macOS/Linux/Windows, typed numeric coercions in
hubrows/sharing, and strict i18n tag+attribute parity enforcement.
- GHSA-9mjv-25f8-p9p9: replace raw k3s kubeconfig line pass-through with a
strict line-by-line allowlist parser rejecting exec/auth-provider/file-path
credentials and YAML anchors/flow collections, and pin default
rancher/k3s:v1.37.1-k3s1 multi-arch index and per-arch config digests.
- GHSA-vc32-9whf-m39j / GHSA-wjfx-gjxf-6h52 / GHSA-hx2c-xfr4-jqm2: fix
AppleScript backslash-before-quote escaping in setup::as_admin, eliminate
all TMPDIR staging before root elevation in setup.rs and usb/helper.rs
(verifying SHA-256 on {bin}.new as root before codesign and atomic mv), and
enforce private staging + SHA-256 + WinVerifyTrust Authenticode / optional
Ed25519 signature verification in kiri-win/update.rs and kiri.ps1.
- #994: redact truncated secret JSON string values at end-of-input in
kiri diag.
* Keep rmtree deep-readonly test setup at O(1) open FDs and parse URL host in domain-label test
A `kiri machine` keeps its work in its container's writable layer, so a
routine `docker system prune` with the machine stopped deleted it and
everything in it. container_prune now leaves containers labelled
dev.kiri.machine out, as OrbStack's prunes leave its machines alone;
`kiri machine delete` and `docker rm machine-NAME` still remove one.
The window's prune goes through the same endpoint.
Unit test in daemon/ops.rs, e2e check machine-prune-keeps, listed in
tests/regressions.tsv; docs/features.md says prunes keep machines.