#[SOLVED ]Docker and dns issues after reboot

6 messages · Page 1 of 1 (latest)

cold schooner
#

Hi there, I'm experiencing an issue after rebooting.
My containers (docker) don't resolve hostnames anymore (local or internet), restarting docker daemon fixes it.
I know it used to work properly.
After looking at the docker.service unit, it should wait for network-online, nslookup and a few other things.

Any clue what could cause this? May I change some docker.service start options?

deft quail
cold schooner
#

that's not really the help I was looking for @deft quail but maybe you're right, I guess I'll get more info in this server

cold schooner
#

that was actually a dhcpcd / network / systemd issue, not a docker one.
I switched from dhcpcd to systemd-networkd, and now docker containers get dns resolution working.

#

[SOLVED ]Docker and dns issues after reboot