Repository navigation
skrog 0.11.0
Each project can have its own engine: skrog target create installs a second,
fully isolated one, and skrog use switches docker between them. The default
engine moves to 29.9.2, with Go and containerd security fixes. skrog compact
works again on WSL 3.0, and --distro can no longer act on the wrong engine.
Security
- The default engine is 29.9.2, built with Go 1.26.10, with containerd 2.3.7.
Go 1.26.10 is the whole of moby 29.9.2: it rejects TLS chains through eight eMudhra
intermediates whose keys were compromised (CVE-2026-111943), so a pull from a registry
that still chains through one now fails verification instead of succeeding. containerd
moves from 2.3.6 to 2.3.7, the patch on the same line, for CVE-2026-95839 and
GHSA-8647-2jxj-p2rc (a crafted image manifest, or a registry'sContent-Length, could
crash containerd) and GHSA-5p7c-hggf-c748 (a CRI-plugin mount leak). moby 29.9.1 took
containerd 2.4.2 for the first two; staying on 2.3 gets them without a minor-version
move. runc and BuildKit are unchanged. Existing installs
move withskrog engine upgrade; 29.9.0 stays in the manifest, soskrog engine rollbackreturns to it.
Fixed
skrog compactworks on WSL 3.0 (#560).
It failed twice over. WSL 3.0'swsl --execdoes not find tools in/sbinby name, so
the first step failed withexecvpe(fstrim) failed; it now runs/sbin/fstrim. And the
wait for WSL to release the disk ended at once, because opening the disk now succeeds
while the utility VM still holds it, so the compaction failed with "being used by another
process". It now retries the compaction itself until the disk is released (about a
minute) or--waitruns out.compactalso no longer boots an engine that was already
stopped just to stop it, which with--no-trimsaves that minute.skrog compactsays up front when Windows cannot compact the disk (#565).
Windows will not compact a sparse, compressed or encrypted.vhdx, and WSL 3.0.2+ makes
a disk sparse (wsl --manage --set-sparse true) without any unsafe flag.compact
trimmed and stopped the engine, then failed with Windows' raw "virtual disk system
limitation" error. It now checks before anything is stopped,--dry-runincluded, names
the cause, and gives the remedy (for sparse:--set-sparse falsewith WSL idle).--distrono longer acts on a different engine (#561).
Wherever an install exists, its manifest decided the distro and the flag was silently
ignored:skrog compact --distro Xcompacted the installed engine instead.compact,
enable-gpu,relocate,serve,proxy,superviseanduninstallnow refuse a
--distrothat differs from the installed one (exit 2) and point at--state-dir, which
is how another install is reached. The installed name itself, in any case, is accepted.wsl.auto-memory-reclaimnow takes effect (#550).
skrog wsl-config applywroteautoMemoryReclaimunder[wsl2], but WSL reads it only
asexperimental.autoMemoryReclaim: it ignored the line and printedUnknown key 'wsl2.autoMemoryReclaim'when the VM started, so the setting never worked. It is now
written under[experimental], and a line an earlier release left under[wsl2]is
moved by the nextapply— the diff shows the move before anything is written.skrog wsl-configandskrog topno longer report the ignored line as in effect.
wsl-config --jsonpending changes gainsection, andmoved_fromfor a move.skrog upgrade --applyunder winget or scoop does what its plan says (#545).
It listed the app step, upgraded the engine and CLI, and only then refused the app
because a package manager owns it, exiting 1 after doing everything else. Ownership is
now decided before the plan is shown: the app step appears under "will not run" with the
manager's command, the rest is applied, and the exit is 0. With only the app behind it
prints the command without asking.--forcestill replaces the binary.
Added
- An engine per project (#539).
skrog target create <name>installs a second, fully independent engine: its own WSL
distro and virtual disk, supervisor, pipe (\\.\pipe\skrog-<name>), docker context
(skrog-<name>), images, containers, volumes, settings and snapshots. A poisoned
image in one cannot be run from another, and each can pin its own dockerd version.
skrog use <name>|localswitches docker (and everything that follows the docker
context) between the shared engine, a named engine and a remote;skrog target list
shows all three with state, dockerd version and disk, per engine and in total;
skrog target removedeletes one, and nothing else. An engine is created stopped,
started byskrog use, and idle-stopped like any other, so the cost is disk rather
than memory.skrog remote usestill works and is the same command. Names are
lowercase letters, digits,-and_;localandengineare reserved, and a name
cannot be both an engine and a remote. See docs/targets.md. target:inskrog.yaml.skrog install --configcreates the named engine when
it is missing, converges the file's settings onto it, and selects it. It istarget:
rather than theengine:the design drafted, becauseengine:already holds
daemon.jsonsettings.skrog autostart --engine <name>(andskrog target create --autostart) gives one
named engine its own logon entry, a separate Run-key value, leaving the default
engine's alone. Named engines do not start at logon unless asked.skrog engine,skrog configandskrog statusact on the current target when
--state-diris not given, soskrog engine upgradechanges the engine docker is
talking to. Nothing changes, and nothing extra is run, on a machine with no named
engines.skrog status --jsongainstarget, additively.- The tray follows the current target. The dot describes the engine docker is on, the
tooltip names it when it is a named engine, and Start, Stop, Restart and Open logs act
on it. The menu is still the same seven items. skrog doctorjudges the disk floor against every engine. The free-space check
uses the fullest volume any engine lives on, lists what each holds, and names
skrog target removeas the way out.
Known limits
- Emulation (
emulation.platforms) registersbinfmt_mischandlers, which are kernel
state shared by every WSL2 distro. Stopping or removing any engine deregisters them
for all, so with several engines running an idle-stop of one can take foreign
architecture support away from another until an engine next starts. - On engine 29.9.0,
docker runoutput was sometimes lost right after a start
(#569): exit 0, empty stdout, in 4 of 23
runs measured immediately after a start, against 0 of 53 on 29.9.2. Not introduced by
this release, and the cause is not yet known. It matters here becauseskrog engine rollbackfrom 29.9.2 returns to 29.9.0.
Changed
skrog uninstallalso removes the named engines under the same state directory, and its
prompt lists them; running it against a named engine's own state directory is refused in
favour ofskrog target remove.- The install flags that choose which engine to install and from where (
--locked,
--offline,--rootfs-url,--engine-version) are now one shared code path used by
skrog installandskrog target create. Behaviour is unchanged. - The verified rootfs download is cached in the base state directory when installing a
named engine, so a second engine does not download it again. - The bundled docker CLI is 29.9.2, from 29.8.2. amd64 is Docker's own zip, checksum
computed from the official download as before; the arm64docker.exeis built from
docker/cli at commita82e528, pinned, with Go 1.26.10 to match the engine. Compose,
buildx and the credential helper are unchanged.