K
K
Ksush Paparadze2017-05-22 16:22:21
proxy
Ksush Paparadze, 2017-05-22 16:22:21

[Docker vs. outbound traffic] How to wrap all outbound traffic in a specific container through a proxy?

All the best!
Can you please tell me how to wrap all outgoing traffic from one container through a proxy? So that the external IP is different from the host's external IP?
Tried specifying env http_proxy and etc. but this works for wget & curl from command line. However, it doesn't work when executing a php script with file_get_contents
Thanks!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question