I was using WiFi (internet) and Ethernet networks. Docker was trying to use the latter, shutting it down solved the problem.