Docker Community Forums

Share and learn in the Docker community.

Docker-compose and 5.10 kernel - networking issues

It looks like docker-compose does not behave as expected on a 5.10.x kernel.

The same yml file

On Ubuntu:

⟫ docker --version
Docker version 19.03.13, build 4484c46d9d
⟫ docker-compose --version
docker-compose version 1.8.0, build unknown
⟫ uname -a
Linux e450-12 4.4.0-200-generic #232-Ubuntu SMP Wed Jan 13 10:18:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

On some Embedded Linux/arm32:

docker --version

Docker version v19.03.14-ce, build 5eb3275d40

docker-compose --version

docker-compose version 1.27.4, build unknown

uname -a

Linux imx6q-phytec-mira-rdk-nand 5.10.2-virt #1 SMP Mon Dec 21 12:30:08 UTC 2020 armv7l GNU/Linux

I can only access my containers from outside if I put them on the host network.
I can only ping between containers if they are on the host network.

Everything on the host network - works:

Like, I think it should work, but it doesn’t:

BTW this is anyways not a fully working example, but I want to get first the basics right.
port 3000:3000 should export port 3000 to the outside world
containers should be able to see each other on the “default” bridge

Was fixed with a more recent version.