Skip to content

Commit

Permalink
fix: change iptables backend to legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
masontikhonov committed Mar 31, 2024
1 parent ce92704 commit ed75c95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ FROM docker:${DOCKER_VERSION}-dind
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.19/main' >> /etc/apk/repositories \
&& apk upgrade \
# 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
&& apk add bash fuse-overlayfs jq --no-cache \
&& apk add bash fuse-overlayfs jq dpkg --no-cache \
&& rm -rf /var/cache/apk/*
RUN update-alternatives --install $(which iptables) iptables $(which iptables-legacy) 10

COPY --from=node-exporter /bin/node_exporter /bin/
COPY --from=cleaner /usr/local/bin/dind-cleaner /bin/
Expand Down

0 comments on commit ed75c95

Please sign in to comment.