Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Bridge network hangs all network activity

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
at88mph
Posts: 2
Joined: 2024-03-13 18:13

[Solved] Bridge network hangs all network activity

#1 Post by at88mph »

I'm running Debian 12.5 on a Dell Optiplex 990 with UEFI and a fast NVMe drive with 16Gb RAM. I've installed the latest Docker version 25. I have the exact same installation on a basic SATA spinning disk on the same machine as well.

By default, Docker uses the Bridge network (docker0 device) when running containers. I'm trying to build a Jekyll site using Docker, which fetches many Gem files from rubygems.org. My "docker run" command runs successfully for a short period of time, but then can no longer make network connections out. Also, my entire desktop's network capabilities are halted (i.e. browser, apt, etc.). When the container dies eventually, all network is restored on the machine. This is on my NVMe drive. If I specify the "--network host" option, it succeeds.

With the SATA drive installation, this all succeeds as expected. The only difference between the two installations is that the 8021q module (VLAN) is loaded by default in my NVMe install that might be getting in the way but I can't disable it.

I tested this with the latest Ubuntu and it works fine on that same NVMe disk.

Any thoughts on this? I use Docker very regularly.
Thank you, community!
Last edited by at88mph on 2024-03-15 20:17, edited 1 time in total.

at88mph
Posts: 2
Joined: 2024-03-13 18:13

Re: Bridge network hangs all network activity

#2 Post by at88mph »

This ended up being an issue with connman, if anyone else runs into this. It was trying to configure bridge networks that Docker creates on the fly, so you must Blacklist them in the /etc/connman/main.conf file by uncommenting the `NetworkInterfaceBlacklist` entry. If that does not work, as it did not for me, I disabled connman, and replaced it with NetworkManager which did solve it.

https://forums.docker.com/t/bridge-netw ... ine/140212

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: [Solved] Bridge network hangs all network activity

#3 Post by Aki »

Thank your for sharing the solution to the reported issue.

Happy Debian.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply