How to enable IPv6 in docker compose version: >= 3? How to enable IPv6 in docker compose version: >= 3? docker docker

How to enable IPv6 in docker compose version: >= 3?


According to this issue for the compose repo IPv6 is not supported like that yet, but there is a workaround that might do the trick for you:

You must comment enable_ipv6: true, and leave all the others parameters as the documentation says. After running:

$ sudo docker-compose build

Then execute:

$ docker network create --driver bridge --ipv6 --subnet fd15:555::/64 --subnet 172.16.238.0/24 containerName-dockerfile_app_net --attachable

$ sudo docker-compose up -d