Hey @benrich
I have the exactly same issue and I am no pro with docker so maybe some people will say “How can you do that?!” but here is my solution:
I dropped into the container (docker exec -it CONTAINER /bin/bash) and edited the /etc/hosts with echo "proxyIP Domain" >> /etc/hosts
My container knows now how to resolve my domain.
Hope it helps.