Skip to content

Commit cff5c05

Browse files
fix: change iptables backend to legacy (#57)
* fix: change `iptables` backend to legacy * ci: bump version * docs: document chnges * fix: change `ip6tables` backend to legacy * docs: improve documentation * docs: improve documentation
1 parent ce92704 commit cff5c05

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,14 @@ RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.19/main' >> /etc/apk/repositor
2828
&& apk upgrade \
2929
# 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
3030
&& apk add bash fuse-overlayfs jq --no-cache \
31+
# Needed only for `update-alternatives` below
32+
&& apk add dpkg --no-cache \
3133
&& rm -rf /var/cache/apk/*
3234

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 \
37+
&& update-alternatives --install $(which ip6tables) ip6tables $(which ip6tables-legacy) 10
38+
3339
COPY --from=node-exporter /bin/node_exporter /bin/
3440
COPY --from=cleaner /usr/local/bin/dind-cleaner /bin/
3541
COPY --from=bbolt /go/bin/bbolt /bin/

service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 1.28.4
1+
version: 1.28.5

0 commit comments

Comments
 (0)