I am using docker on different iot devices where the bevaiour of the docker daemon bind to the ipv6 adress of the local network interface is different with the default installation.
I have not configured anything about using ipv6 using in docker containers!
1. raspi3 with Ubuntu 20.04.2 LTS - all containers are bind on start by default to the ipv6 adress (all adresses )
example - tcp6 0 0 :::80 :::* LISTEN 1979/docker-proxy
2. odroid c4 with Armbian 21.02.1 Buster and OMV5 - all containers are bind on start by default to the ipv4 adress (all adresses)
example - tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 23145/docker-proxy
I don’t find any reason for this and why docker is binding on these to different linux distros in such different way (ipv4 <> ipv6).
What I need on the odroid c4 is the same bevaiour as on the raspi3, so that all docker containers use the ipv6 and not the ipv4 bind.
Does anyone has a solution or a hint for this and where there is the difference in the default docker configuration?
Thankx in advance.