Skrog

wslkit·wslkit.skrog

Run the upstream Docker Engine on Windows via WSL2, with no licence fees.

Skrog serves the real Docker Engine API on the named pipe docker.exe already talks to, backed by upstream dockerd running in a WSL2 distro it owns. Compose, Dev Containers, Testcontainers, buildx and the Docker CLI work unmodified, because the thing answering is genuinely dockerd. It is headless by design: no GUI, no Kubernetes, no tray ceremony, and no licence fee. A supervisor starts the engine at logon, survives crashes, `wsl --shutdown` and sleep/resume, and idle-stops the engine to return its RAM. `skrog lock` pins the exact dockerd, containerd, runc and BuildKit commits so a laptop and a CI runner install the same engine. Installing this package places the skrog command on PATH. It does not provision anything: run `skrog install` next to set up the engine, then `skrog start`. Skrog does not install a docker CLI - use Docker Desktop's, or `skrog cli install`.

winget install --id wslkit.skrog --exact --source winget

Latest 0.11.0·October 26, 2026

Release Notes

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's Content-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 with skrog engine upgrade; 29.9.0 stays in the manifest, so skrog engine rollback returns to it.

Fixed

  • skrog compact works on WSL 3.0 (#560). It failed twice over. WSL 3.0's wsl --exec does not find tools in /sbin by name, so the first step failed with execvpe(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 --wait runs out. compact also no longer boots an engine that was already stopped just to stop it, which with --no-trim saves that minute.
  • skrog compact says 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-run included, names the cause, and gives the remedy (for sparse: --set-sparse false with WSL idle).
  • --distro no 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 X compacted the installed engine instead. compact, enable-gpu, relocate, serve, proxy, supervise and uninstall now refuse a --distro that 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-reclaim now takes effect (#550). skrog wsl-config apply wrote autoMemoryReclaim under [wsl2], but WSL reads it only as experimental.autoMemoryReclaim: it ignored the line and printed Unknown 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 next apply — the diff shows the move before anything is written. skrog wsl-config and skrog top no longer report the ignored line as in effect. wsl-config --json pending changes gain section, and moved_from for a move.
  • skrog upgrade --apply under 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. --force still replaces the binary.

Added

  • An engine per project (#539). skrog target create installs a second, fully independent engine: its own WSL distro and virtual disk, supervisor, pipe (\.\pipe\skrog-), docker context (skrog-), 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 |local switches 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 remove deletes one, and nothing else. An engine is created stopped, started by skrog use, and idle-stopped like any other, so the cost is disk rather than memory. skrog remote use still works and is the same command. Names are lowercase letters, digits, - and _; local and engine are reserved, and a name cannot be both an engine and a remote. See docs/targets.md.
  • target: in skrog.yaml. skrog install --config creates the named engine when it is missing, converges the file's settings onto it, and selects it. It is target: rather than the engine: the design drafted, because engine: already holds daemon.json settings.
  • skrog autostart --engine (and skrog 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 config and skrog status act on the current target when --state-dir is not given, so skrog engine upgrade changes the engine docker is talking to. Nothing changes, and nothing extra is run, on a machine with no named engines. skrog status --json gains target, 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 doctor judges 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 remove as the way out.

Known limits

  • Emulation (emulation.platforms) registers binfmt_misc handlers, 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 run output 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 because skrog engine rollback from 29.9.2 returns to 29.9.0.

Changed

  • skrog uninstall also 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 of skrog 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 install and skrog 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 arm64 docker.exe is built from docker/cli at commit a82e528, pinned, with Go 1.26.10 to match the engine. Compose, buildx and the credential helper are unchanged.

Installer type: zip

x64—3ACE5316AA59FC20A49808C3C21A8CBCEBE69D071BE8FAD2BBD223669A19F39E
arm64—E0FC43B5095E0E0B8BBAD98F4E8DA568F008C839E92C8061A9B3D25DFF777D83

Details

Homepage
https://github.com/wslkit/skrog
License
Apache-2.0
Publisher
wslkit
Support
https://github.com/wslkit/skrog/issues
Copyright
Copyright (c) Skrog contributors
Moniker
skrog

Tags

containersdevcontainersdockerdocker-enginedockerdtestcontainerswindowswslwsl2

Older versions (2)

0.10.0
x64—7233CC5A2405BA926034BAF90845333613AAA1842FE690C63F19A88FDD2034B6
arm64—163FAD9258B2E54B4F963B0AD6B48323F18550C8EBA296BC713E498DACC75BE8
0.8.0
x64—3E18705BA37BF21E9DFC1C816E4764AA19DB961D021716FC2FEE4E853315C2B2
arm64—A0BF5AB2F5BEFE9A38223EDAD5F083722881C47E7BDDE9DA7B45F8ACFA048B30