Problem #
As explained in this great blogpost by Markus Unterwaditzer Docker sometimes adds routes to the routing table that make it impossible to connect to the WiFi on ÖBB trains. As a quick fix they may manually be removed with
sudo ip route del 172.19.0.0/16 However they will be recreated eventually.
Solution #
Delete the br-* devices and associated routes. Put the
following in your configuration.nix:
virtualisation.docker = {
extraOptions = ''\'''\'
--default-address-pool base=172.44.0.0/16,size=24
''\'''\';
};This will make Docker give out /24 networks from the
172.44.0.0/16 range. You may tweak this according to your
needs.