Verified Commit 5ec7cdf9 authored by Silvio Rhatto's avatar Silvio Rhatto
Browse files

Fix: docs: customization: use "--net onimages"

parent 58085486
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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 \
@@ -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