[DOCKER] Enable ipv6

I need to use ipv6 on docker.
can anyone help me?

i’m newbie but with following step by step i work miracles heheheh

my system is a odroid N2

docker support

1 Like

Few days ago I changed my internet subscription and now I have ipv6 service in addition to ipv4.

If I run the ‘ifconfig’ command on my LibreELEC server all my network interfaces in use, including docker interfaces, have ipv6 addresses assigned.

If I run the ‘ifconfig’ command on any of my CoreELEC clients all my network interfaces in use, including docker interfaces, have ipv6 addresses assigned.

Also my pihole DNS server reports about 50% activity on ipv4 and another 50% activity on ipv6.

Where do you have the problem?

Solution: To enable ipv6 in docker you have to add --ipv6 parameter, and perhaps something like --fixed-cidr-v6="2001:db8:1::/64", in the dockerd run command. This can be done in the /storage/.config/system.d/docker.service file. For more information search "docker default support ipv6 address" on the internet.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.