desktop-linux
desktop-linux copied to clipboard
Dockers create routing with high priority which is not necessary wanted
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
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