You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,14 @@ RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.19/main' >> /etc/apk/repositor
28
28
&& apk upgrade \
29
29
# Add fuse-overlayfs for comaptibility with rootless. Volumes created with rootless might use fuse-overlay formatted volumes. If those volumes are later used by dind that runs with root it'll require fuse-overlay to be able to read the volume
30
30
&& apk add bash fuse-overlayfs jq --no-cache \
31
+
# Needed only for `update-alternatives` below
32
+
&& apk add dpkg --no-cache \
31
33
&& rm -rf /var/cache/apk/*
32
34
35
+
# Backward compatibility with kernels that do not support `iptables-nft`. Check #CR-23033 for details.
36
+
RUN update-alternatives --install $(which iptables) iptables $(which iptables-legacy) 10 \
0 commit comments