dperson / torproxy

GNU Affero General Public License v3.0
515 stars 144 forks source link

Can't set --net host on docker-compose #23

Closed carlastabile closed 6 years ago

carlastabile commented 6 years ago

Is it possible to set this option on the docker-compose.yml? I'm trying to do it like this:

tor:
  image: dperson/torproxy
  volumes:
    - ./torrc:/etc/tor/torrc
  expose:
    - 9050
    - 8118
  entrypoint: torproxy.sh
  command:
    - "--net host -p 8118:8118 -p 9050:9050"