Our non-public infrastructure is (mostly) IPv6 only. Therefore, we need outgoing* IPv6 support on our Docker based Gitlab runners. Complete IPv6 support is out of scope of this snippet – a more complete answer may be found on Docker IPV6 Guide.
Simply follow these steps:
/etc/docker/daemon.json on the Docker host
and restart the daemon, e.g.
Enable outgoing traffic using NAT
Test outgoing traffic from a Docker guest
Make changes permanent
This obviously depends on your distribution. For Debian/Ubuntu based distributions, we edit
For this to test, you need to reboot your system.