Fabian Peter Hammerle a17f7081ef readme: adapated headline | 5 роки тому | |
---|---|---|
Dockerfile | 5 роки тому | |
README.md | 5 роки тому | |
torrc.template | 5 роки тому |
docker hub: https://hub.docker.com/r/fphammerle/onion-service
$ docker run --name onion-service \
-e VIRTUAL_PORT=80 -e TARGET=1.1.1.1:80 \
fphammerle/onion-service
$ docker create --name onion-service \
--env VIRTUAL_PORT=80 \
--env TARGET=1.1.1.1:80 \
--volume onion-key:/onion-service \
--restart unless-stopped \
fphammerle/onion-service:latest
$ docker start onion-service
$ docker exec onion-service cat /onion-service/hostname
abcdefghijklmnop.onion