It would be nice to have Docker packages in Gentoo instrumented for rootless mode. All the plumbing is already there, and I have been running Docker rootless on two of my systems without issues since early August. As far as I can tell all that would have to be done here is: * RDEPEND on sys-apps/rootlesskit (required) and app-containers/slirp4netns (rootlesskit supports other network stacks as well but slirp4netns is the default one, upstream recommend it for most uses, and unlike e.g. lxc-user-nic is essentially zero-setup) * install ${S}/contrib/dockerd-rootless.sh into the same directory as dockerd itself * install ${S}/contrib/dockerd-rootless-setup.sh It might also make sense to add a post-install message telling the users what to do afterwards.
CCing Rahil in case he's interested.
I'm fixing this in 27.2.0. The change I'm making is to symlink the dockerd-rootless* scripts into /usr/bin and to add optfeature comments about installing the external packages since they would be optional runtime dependencies.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88c9e540fd1e479443b18d4d818c8b80214554fa commit 88c9e540fd1e479443b18d4d818c8b80214554fa Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2024-09-04 23:48:41 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2024-09-05 00:10:59 +0000 app-containers/docker: add 27.2.0 Closes: https://bugs.gentoo.org/938965 Signed-off-by: William Hubbs <williamh@gentoo.org> app-containers/docker/Manifest | 1 + app-containers/docker/docker-27.2.0.ebuild | 323 +++++++++++++++++++++++++++++ app-containers/docker/metadata.xml | 4 + 3 files changed, 328 insertions(+)