I'm running a Docker container which clones some git repositories and builds a project inside of itself.
It clones code from 2 different repositories: one is public
github.com and the other one is private
my.companys.github.enterprise.net and is only accessible through VPN.
resolv.conf I have 2 nameservers: one for public services and one for VPN:
nameserver 22.214.171.124 nameserver 10.10.3.3
When I try to clone repositories inside my docker container it can only resolve
github.com repositories and can't resolve
If I switch around the lines in my
resolv.conf, then it can only resolve
my.companys.github.enterprise.net and not the
Is there a way to allow Docker to resolve both links to repositories using 2 different nameservers from
resolv.conf instead of just trying the first one?