hi,
for command line applications you can export some environment variables such as http_proxy
and so on.
but if you want to transparently proxy everything inside the container you're better off using some kind of VPN instead, as it's possible that some applications will not respect the environment variables.
there are some ways to do what you want but it still would take some complicated setups to accomplish that