Kind - Is it possible to supply a custom /etc/docker/daemon.json to the kind container?

#1

In our networking environment the default DNS used by Docker (8.8.8.8) is blocked. I built a custom kind node image based on the kindest/node image including an /etc/docker/daemon.json file that contains our DNS.

I wonder if the --config mechanism of the kind cli can be used to supply the daemon.json file.

0 Likes

#2

If you are using kubernetes, you could ship resolv.conf to the pod ( in turn for all the containers running in a pod ). Please refer DNS for Services and Pods - Kubernetes

Something similar from previous thread Static pods have host's resolv.conf after HA Installation with kubeadm

0 Likes