Categories
Mastering Development System & Network

Why is mysql failing on boot, but not after restarting using galera?

I’m using mysql and I’ve setup a galera cluster with two machines. I have a problem where after I configured galera using the config bellow, and rebooting the machine, mysql fails to start and because a lot of services depent on mysql, I can’t log into that machine or do anything else with it. Removing […]

Categories
Mastering Development System & Network

No route to DNS server from Docker container

Even though I can successfully ping a host from a Docker container (i.e. docker run busybox ping -c 1 216.58.207.206), requests involving a DNS lookup result in a timeout (e.g. docker run nslookup google.com). I’ve looked at suggestions from this NPM Github issue, namely editing /etc/hosts, connections from different networks, and rebooting the machine, all […]

Categories
Mastering Development System & Network

No route to DNS server from Docker container

Even though I can successfully ping a host from a Docker container (i.e. docker run busybox ping -c 1 216.58.207.206), requests involving a DNS lookup result in a timeout (e.g. docker run nslookup google.com). I’ve looked at suggestions from this NPM Github issue, namely editing /etc/hosts, connections from different networks, and rebooting the machine, all […]