I need to reference the host or host network during a docker build, in the Dockerfile, how do I do that? I want to do this, to clone some git repos, or to scp some files to set the image up with.
Its easy to clone a github repo, because the docker will resolve the dns for that. However, I don't have a dns entries for my host network available to the docker image being built.
In fact, I don't even know what the ip address of the host is, never mind getting as far as setting up dns.