dockeripv6

Disable ip v6 in docker container


I have ipv6 enabled on docker host but there is one particular container where ipv6 is causing issues. Is there a way to launch a container without ipv6 support, either through command line argument or dockerfile directive?


Solution

  • Unfortunately there isn't: --ipv6 is a daemon-wide flag that cannot be overridden on a per-container basis.