2018-08-22 00:18:43 +02:00
|
|
|
# Docker_Tor_HiddenService
|
|
|
|
|
2018-08-22 00:28:47 +02:00
|
|
|
Dockerized tor hidden service
|
|
|
|
|
2018-08-22 00:41:47 +02:00
|
|
|
## Build the image:
|
2018-08-22 00:28:47 +02:00
|
|
|
docker build -t torhs_dockerized .
|
|
|
|
|
|
|
|
|
2018-08-22 00:41:47 +02:00
|
|
|
## Run the image:
|
2018-08-22 00:28:47 +02:00
|
|
|
docker run -d --name torhs_dockerized torhs_dockerized
|
|
|
|
|
2018-08-22 00:41:47 +02:00
|
|
|
## Start the container:
|
|
|
|
docker start torhs_dockerized
|
|
|
|
|
|
|
|
## Retrieve the idden service name:
|
2018-08-22 00:28:47 +02:00
|
|
|
docker exec torhs_dockerized cat /var/lib/tor/hidden-service/hostname
|