feat(install): rootless Docker offer disables the rootful daemon first

docker.service + docker.socket disabled and /var/run/docker.sock removed before
dockerd-rootless-setuptool.sh install, as the docs recommend; skipped when no
rootful unit exists.
This commit is contained in:
bchanot committed 2026-10-09 00:28:51 +02:00
1 parent 6882aa7c14
commit de6fa1659c
4 files changed
+11 -6

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ Branch: feature/gitconfig-autopush (off develop). Plan: .claude/tasks/plans/2026
Branch: feature/docker-rootless (off develop). Mirrors the manual setup done on this machine
(docs.docker.com/engine/security/rootless, apt variant: setuptool lives in /usr/bin, not ~/bin).
- [x] install.sh: `docker-ce-rootless-extras` in the install_docker package list
- [x] install.sh: offer_docker_rootless() — uidmap/dbus-user-session/slirp4netns + extras, setuptool install (no --force), enable-linger; rootful daemon left as is
- [x] install.sh: offer_docker_rootless() — uidmap/dbus-user-session/slirp4netns + extras, setuptool install (no --force), enable-linger; rootful daemon disabled first
- [x] bash/bashrc-linux: DOCKER_HOST exported only when the rootless socket exists (no PATH line: /usr/bin already on PATH)
- [x] README.md: table row, step 2 packages, packages list, new offer step
- [x] shellcheck + bash -n; commit on the feature branch. No finish without explicit signal.