Docker networking problems on reboot

(Andy Balholm) #1

When we reboot our server, it seems like our Discourse container is unable to make outgoing network connections. We can access the Discourse site from outside just fine, but it can’t send email notifications or check for updates. But after we we do service docker restart, it works fine. (Or rather, because of Runsv hanging on Docker container shutdown, we need to do docker kill app and then service docker restart.)

My suspicion is that Docker is starting too early in the computer’s boot sequence.