After upgrade, docker cannot communicate with the outside world

Just as a note, I have this same problem but @rcauvin 's suggestion did not work for me.

See: ./discourse-setup: could not resolve host: github.com for my topic on the same issue