iptables: remove useless ip6tables VM rules

This rule isn't restored when the Kokoro VM is restarted, so it's not doing
anything. And the problem it was meant to solved is instead addressed by
https://github.com/google/gvisor/pull/3207.

PiperOrigin-RevId: 321026846
This commit is contained in:
Kevin Krakauer 2020-07-13 13:53:42 -07:00 committed by gVisor bot
parent 6994f4d591
commit 3fe9be138c
1 changed files with 0 additions and 3 deletions

View File

@ -60,6 +60,3 @@ cat > /etc/docker/daemon.json <<EOF
"ipv6": true
}
EOF
# Docker's IPv6 support is lacking and does not work the same way as IPv4. We
# can use NAT so containers can reach the outside world.
ip6tables -t nat -A POSTROUTING -s 2001:db8:1::/64 ! -o docker0 -j MASQUERADE