I have a dnsmasq service that is currently bound to 127.0.0.1 pointing to my minikube instance like so:
I'd like to run docker containers that will communicate with the minikube instance using the DNS I specified.
When I set the container's DNS using
docker run --dns 127.0.0.1 ... docker outputs the following message:
WARNING: Localhost DNS setting (--dns=127.0.0.1) may fail in containers.
If I use the the host's network like so
docker run --net host --dns 127.0.0.1 ... everything works as expected.
How do I configure the docker bridge to also resolve DNS using my local dnsmasq service?