I found that the Tails has been evaluating Docker. However, I'd like to have a Docker image that connects only through Tor. I'm happy with setting my own proxy. Is there a recipe to do this?

What I expect: Run a docker container from an image, and get into a terminal where the VM can only connect to Internet through Tor. I'm happy with a Docker file that can do that.

If my question is still ambiguous, please feel free to ask for more details.

It's possible. Take a look at opnsense or tails. They have ability to transparently route all traffic through tor.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.