Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 880 Bytes

File metadata and controls

43 lines (31 loc) · 880 Bytes

darkwebDocker

Host a website on the Dark Web. A docker container is connected to the ToR network and is being used as on Onion Service. It's basically a Dark Web website running in a Docker!

To build the container in x86_T64 Architecture:

sudo docker build -t tordocker -f Dockerfile .

To build the container in arm Architecture:

sudo docker build -f tordocker DockerFilePi .

To run the image for testing:

sudo mkdir -p /docker/torweb/nginx 
sudo docker run \
--name mydarkweb \
-h torr -d tordocker \
-v /docker/torweb/nginx:/var/www/html/ \
--restart unless-stopped

Log into the container with the following:

sudo docker exec -it mydarkweb bash

To find out the link of the onion URL:

cat /var/lib/tor/hidden_service/hostname

To remove the container:

sudo docker rm -fv mydarkweb