iptables-restore
Restore the iptables IPv4 configuration. Use ip6tables-restore to do the same for IPv6. More information: <https://manned.org/iptables-restore>.
RUN apt-get update && \
apt-get install -y iptables
RUN apt-get update && \
apt-get install -y iptables
RUN apk add iptables
RUN pacman -S --noconfirm iptables
RUN apt-get update && \
apt-get install -y iptables
RUN yum install -y iptables
RUN dnf install -y iptables
RUN apt-get update && \
apt-get install -y iptables