mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
ff27bb0db4
The output of "bridge fdb show" command invoked under a network namespace is unpredicable. Sometime it returns empty, and sometime non-stop rolling output. This perhaps is a bug in kernel and/or iproute2 implementation. To work around, display fdb for each bridge. Signed-off-by: Su Wang <su.wang@docker.com>
20 lines
410 B
Docker
20 lines
410 B
Docker
FROM docker:18-dind
|
|
|
|
RUN set -ex \
|
|
&& echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
|
|
&& echo "http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
|
RUN apk add --no-cache \
|
|
util-linux \
|
|
bridge-utils \
|
|
iptables \
|
|
iputils \
|
|
iproute2 \
|
|
ipvsadm \
|
|
conntrack-tools \
|
|
jq \
|
|
bash
|
|
|
|
WORKDIR /bin
|
|
COPY *.sh /bin/
|
|
|
|
CMD /bin/run.sh
|