From 24b61232d2b3f85420b8b5f27da998ba8e28312d Mon Sep 17 00:00:00 2001 From: Alex Recuenco <26118630+alexrecuenco@users.noreply.github.com> Date: Tue, 11 Aug 2026 15:12:12 +0200 Subject: [PATCH] Add 'passt' to package installation in Dockerfile pasta is one of the options for rootless kit, and having it pre-installed would provide better flexiblity https://github.com/rootless-containers/rootlesskit/blob/master/pkg/network/pasta/pasta.go https://github.com/moby/moby/blob/a53faf37d6314379a074e640ba904fa335db98a2/contrib/dockerd-rootless.sh#L4 This enables running ```bash DOCKERD_ROOTLESS_ROOTLESSKIT_NET=pasta ``` --- Dockerfile-dind-rootless.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile-dind-rootless.template b/Dockerfile-dind-rootless.template index 884fb56b0..2eebebc52 100644 --- a/Dockerfile-dind-rootless.template +++ b/Dockerfile-dind-rootless.template @@ -5,7 +5,7 @@ FROM docker:{{ env.version }}-dind # [rootlesskit:child ] error: executing [[ip tuntap add name tap0 mode tap] [ip link set tap0 address 02:50:00:00:00:01]]: exit status 1 # slirp4netns is recommended as rootlesskit's net driver # https://github.com/rootless-containers/rootlesskit/blob/be156df0429551f5c23dc61dd07201b33076ff1d/docs/network.md#--netslirp4netns-recommended -RUN apk add --no-cache iproute2 fuse-overlayfs slirp4netns +RUN apk add --no-cache iproute2 fuse-overlayfs slirp4netns passt # "/run/user/UID" will be used by default as the value of XDG_RUNTIME_DIR RUN mkdir /run/user && chmod 1777 /run/user