1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00
This commit is contained in:
kev 2015-06-18 20:33:27 +08:00
parent ae3a060b44
commit 0a43ab40c9
2 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,7 @@ RUN apk add -U build-base \
&& rm -rf /var/cache/apk/*
COPY ./torrc /etc/tor/torrc
VOLUME /etc/tor
VOLUME /etc/tor /root/.tor
EXPOSE 9001 9030 9050 9051
CMD ["/usr/bin/tor", "-f", "/etc/tor/torrc"]

View File

@ -49,6 +49,8 @@ Bridge obfs3 1.2.3.4:9001 F24BF4DE74649E205A8A3621C84F97FF623B2083
```
$ docker-compose up -d
$ docker-compose logs
$ docker exec tor_tor_1 cat /root/.tor/fingerprint
datageek F24BF4DE74649E205A8A3621C84F97FF623B2083
```
## client