How can I make a request coming from inside of a docker container appear to be coming from my local machine?
Start container in the host OS network space with docker run --network host ...
- container will be running in the network of your local machine directly. But you will lose container network isolation, so you should to review security of this approach.