I have a docker container running jenkins. As part of the build process, I need to access a web server that is run locally on the host machine. Is there a way the host web s
Use --net="host" in your docker run command, then localhost in your docker container will point to your docker host.
--net="host"
docker run
localhost