Engine in WSL2

Why This Book Runs Docker Engine Directly in WSL2

This book installs Docker Engine 514 inside the Ubuntu 26.04 225 WSL2 6 distribution and never installs Desktop, for four reasons:

The daemons themselves are light. Their resident memory with no containers running:

Memory used by Docker Engine's daemonsShell
ps -o rss=,comm= -C dockerd,containerd
Output
47776 containerd
72204 dockerd

Together they hold about 117 MB of RSS (figures in KiB). Desktop's real extras, a GUI, one-click Kubernetes 5,150 and automatic updates, are covered here by the CLI, kind (Kubernetes) and apt.