desktop-linux icon indicating copy to clipboard operation
desktop-linux copied to clipboard

Dockers create routing with high priority which is not necessary wanted

Open Camilochiang opened this issue 2 years ago • 1 comments
trafficstars

Ubuntu 18.04.06 Docker version 20.10.21

When startinig/restarting dockers with systemctl, a new entry is added to the IP routing table. The problem with this is that the metric for priority is setted to 0 what make local socks connections to be refused and crashing other applications who requiere socket connections. Interestenly when trying to change the priority with ifmetric NETLINK gaves an error and the Iface disapear of the table.

Steps to reproduce:

sudo systemctl restart docker
route -n
sudo ifmetric docker0 2000
route -n

Camilochiang avatar Mar 21 '23 11:03 Camilochiang

There hasn't been any activity on this issue for a long time. If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment. If not, this issue will be closed in 30 days.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

docker-robot[bot] avatar Jun 23 '23 01:06 docker-robot[bot]