Skip to content

Package rootless Docker support - #405

Draft
acrogenesis wants to merge 2 commits into
omacom:masterfrom
acrogenesis:feature/rootless-docker
Draft

Package rootless Docker support#405
acrogenesis wants to merge 2 commits into
omacom:masterfrom
acrogenesis:feature/rootless-docker

Conversation

@acrogenesis

@acrogenesis acrogenesis commented Sep 11, 2026

Copy link
Copy Markdown
Member

Rootless Docker needs Moby's rootless launcher and setup tool plus package-owned service defaults that cannot resolve daemon helpers through user-writable paths. This packages that runtime and supplies the companion Omarchy change with its rootless environment generator while keeping the separate Windows daemon root-only.

The docker-rootless-extras recipe now installs both dockerd-rootless.sh and dockerd-rootless-setuptool.sh. Its generated user service uses PATH=/usr/bin and XDG_CONFIG_HOME=%h/.config, preventing long-lived dockerd and RootlessKit helper resolution through mutable session paths. The Omarchy-specific changes live in .omarchy/patches/rootless-service-boundary.patch, so upstream refreshes reapply the boundary instead of silently dropping it; the downstream package release is 29.8.0-1.1.

Both stable and development settings recipes conditionally install the rootless Docker environment generator and rootful socket drop-in when the selected Omarchy source contains them. That keeps builds against the currently pinned stable source compatible until it advances.

Companion Omarchy PR: omacom/omarchy#11386

Validation

  • makepkg --verifysource --skippgpcheck
  • isolated makepkg -f --noconfirm build of docker-rootless-extras 29.8.0-1.1
  • package-worktree reproduction matches the patched source tree
  • archive payload and generated docker.service inspection
  • Bash syntax and whitespace checks
  • clean merge-tree against current master
  • real package installation and rootless runtime/migration validation in Omarchy Lab
  • repeated independent Codex review; final round reported no valid actionable findings

Screenshot

Rootless Docker running in Omarchy Lab with its user socket and a root-only Windows Docker socket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant