Repository navigation
Description
Epic: Lore Package Development (#74) · Plan of record: lore-package-development.md (Phase 1)
The package
packages/docker deploys Docker CE — daemon, CLI, containerd, buildx, and the compose
plugin — across Darwin, Linux, and Windows, with Deploy, Upgrade, and Decommission
workflows. It is already on the current contract (def install(package, phase), plan.*,
platform directories) from the binding-unification work (#21, 2026-02-22); this feature
brings it to today's bar, re-proves it against the CLI at HEAD, and restructures it toward
the plan's Requirement 4 (three variants, no distro splits).
Source materials: Install-Docker and Tools/Debian/Initialize-Debian in the personal
repo (harvested — Install-Docker is Debian-family only and deliberately omits repo setup,
which lives in Initialize-Debian), the existing registry package, and the primary sources
below. Tribal knowledge verified against docs.docker.com on 2026-08-22.
Scope
- Re-validate against the current CLI:
lore manifest validate docker, then per-platform
lore manifest test docker— the CLI has moved ~6 months since the package was touched. - Version pin
28.0.1→ current (Engine is 29.x as of 2026-08 — a full major
behind); re-verify winget/choco/apt/dnf signature IDs. - Implement the prepare-phase TODO stubs —
plan.net.downloadandplan.file.write
exist in the current contract. - Structure per Requirement 4: unify into
Linux/everything unifiable now (conflict
union with installed-guards, install set, hardware verify); distro directories remain
only for vendor-repo registration until theplan.package.repository(...)primitive
lands in devlore-cli. - Bring the README to the plan's Requirement 1 standard (Rulings section; 1:1
script-header mirror). - Registry PR with three-platform automated testing.
Tribal knowledge (verified 2026-08-22)
- Five packages, not one:
docker-ce,docker-ce-cli,containerd.io,
docker-buildx-plugin,docker-compose-plugin— pluslshwfor hardware detection in
the verify phase. Identical across Linux families. - Conflicting packages must be removed first, guarded by
plan.package.installed,
followed by autoremove. Debian family (per primary source):docker.io,
docker-compose,docker-compose-v2,docker-doc,docker-buildx,
podman-docker,containerd,runc. Fedora family:docker,docker-client,
docker-client-latest,docker-common,docker-latest,docker-latest-logrotate,
docker-logrotate,docker-selinux,docker-engine-selinux,docker-engine.
The registry's extra Fedora entries (podman,runc) survive only as a recorded
ruling, not as "what Docker says". - Vendor repository registration is the irreducible distro split: apt wants a keyring
(/etc/apt/keyrings/docker.asc) plus a deb822.sourcesfile with URL path,
Suites:codename, andArchitectures:resolved from/etc/os-release— the one-line
docker.listis outdated; dnf wants dnf5
config-manager addrepo --from-repofile https://download.docker.com/linux/fedora/docker-ce.repo
(supported Fedora releases: 43/44). Initialize-Debian already writes the deb822 format. - Licensing cliff: Linux gets Docker CE (Apache-2.0); Darwin and Windows get Docker
Desktop — free only under 250 employees AND under $10M revenue; government entities
always require a subscription, regardless of size. - Rootless mode (feature
rootless, Linux): needsuidmapanddbus-user-session. - ODROID-C4/C5 need cgroup v1 (
systemd.unified_cgroup_hierarchy=0). Full mechanism
from Install-Docker: detect vialshw -jsonproduct, findboot.iniunder
/media/boot, check bootargs; when absent, emit manual remediation instructions
(backup, append, reboot, re-verify) and exit cleanly. Raspberry Pi 5 is known-good;
unknown products warn, never fail. - Rosetta 2 (Darwin): optional-but-recommended, no longer required — some CLI tools
still need it under Darwin/AMD64 (softwareupdate --install-rosetta). - Windows prerequisites: WSL 2.1.5+ must pre-exist (
wsl --version); minimums
Windows 10 22H2 / 11 23H2, 8 GB RAM, SLAT, virtualization enabled, LanmanServer
service enabled and Automatic. ARM64 is Early Access, WSL 2 backend only, and
Windows containers are unsupported there. Official channels are the installer exe
and Microsoft Store; winget'sDocker.DockerDesktop(and Homebrew's cask on Mac) are
community-maintained, not official. - Verification is end-to-end:
docker run hello-world(the official check), plus
systemctl enable --now dockeron Linux — stronger than a--versionpattern. - Decommission is two-speed: default preserves images/containers/volumes; the
purge-datafeature removes them. Never conflate the two.
Evidence of completion
lore manifest validate dockerand per-platformlore manifest test dockerpass at CLI HEAD- README tribal-knowledge sections match the scripts'
TRIBAL KNOWLEDGE:headers 1:1,
Rulings section included - Registry PR merged with green macOS/Linux/Windows runs
Primary sources (verified 2026-08-22)
Ubuntu install ·
Fedora install ·
Mac install ·
Windows install ·
Pricing FAQ
Activity