Loading docs/customization.md +2 −2 Original line number Original line Diff line number Diff line Loading @@ -30,7 +30,7 @@ following configuration: This can be overridden when invoking the container, like this: This can be overridden when invoking the container, like this: docker run -d --net tor --mount type=volume,src=tor,target=/var/lib/tor \ docker run -d --net onimages --mount type=volume,src=tor,target=/var/lib/tor \ tor \ tor \ --HiddenServicePort 80 httpd:8000 \ --HiddenServicePort 80 httpd:8000 \ --HiddenServicePort 443 httpd:8443 \ --HiddenServicePort 443 httpd:8443 \ Loading @@ -38,7 +38,7 @@ This can be overridden when invoking the container, like this: You can even provide a configuration file, by mounting it at `/etc/tor/torrc` You can even provide a configuration file, by mounting it at `/etc/tor/torrc` and invoking with this command: and invoking with this command: podman run --net tor \ podman run --net onimages \ --mount type=volume,src=tor,target=/var/lib/tor \ --mount type=volume,src=tor,target=/var/lib/tor \ --mount type=bind,src=tor/debian/torrc,target=/etc/tor/torrc \ --mount type=bind,src=tor/debian/torrc,target=/etc/tor/torrc \ tor -f /etc/tor/torrc tor -f /etc/tor/torrc Loading Loading
docs/customization.md +2 −2 Original line number Original line Diff line number Diff line Loading @@ -30,7 +30,7 @@ following configuration: This can be overridden when invoking the container, like this: This can be overridden when invoking the container, like this: docker run -d --net tor --mount type=volume,src=tor,target=/var/lib/tor \ docker run -d --net onimages --mount type=volume,src=tor,target=/var/lib/tor \ tor \ tor \ --HiddenServicePort 80 httpd:8000 \ --HiddenServicePort 80 httpd:8000 \ --HiddenServicePort 443 httpd:8443 \ --HiddenServicePort 443 httpd:8443 \ Loading @@ -38,7 +38,7 @@ This can be overridden when invoking the container, like this: You can even provide a configuration file, by mounting it at `/etc/tor/torrc` You can even provide a configuration file, by mounting it at `/etc/tor/torrc` and invoking with this command: and invoking with this command: podman run --net tor \ podman run --net onimages \ --mount type=volume,src=tor,target=/var/lib/tor \ --mount type=volume,src=tor,target=/var/lib/tor \ --mount type=bind,src=tor/debian/torrc,target=/etc/tor/torrc \ --mount type=bind,src=tor/debian/torrc,target=/etc/tor/torrc \ tor -f /etc/tor/torrc tor -f /etc/tor/torrc Loading