Decentralized websites using Bitcoin crypto and the BitTorrent network - https://zeronet.io
Go to file
2017-06-20 20:32:27 +02:00
docker-compose.yml updates 2017-06-20 20:32:27 +02:00
Dockerfile updates 2017-06-20 20:32:27 +02:00
Dockerfile.debian add Zeronet to a Docker container 2016-03-19 11:27:52 +01:00
launch enabled tor 2016-03-23 21:27:37 +01:00
LICENSE changed license; changed network name 2016-04-12 12:12:37 +02:00
README.md updates 2017-06-20 20:32:27 +02:00

Intro

Running Zeronet in Docker container

Run

docker run -d \
  --name zeronet
  -v zeronet_data:/data
  -p 127.0.0.1:43110:43110
  -p 15441:15441
  my/zeronet

Access

http://127.0.0.1:43110

Additional notes

If you are running your Web browser in the container, then you need to make sure both containers are on the same network in order to access the ZeroNet WebUI.

docker network connect glue
docker network connect glue chrome
docker network connect glue zeronet

Running zeronet with docker-compose:

docker-compose up -d

And access it via http://zeronet:43110

If you wish to build the image

docker build -t my/zeronet .

Tor proxy

Additionally you can use this zeronet container as Tor proxy.

Firefox configuration

Manual proxy configuration
SOCKS Host: zeronet
SOCKS Port: 9050
SOCKS version: v5
[x] Remote DNS
No Proxy for: localhost, 127.0.0.1, zeronet

Backing up the data

The following command will create a backup of your zeronet_data volume in your $HOME/zeronet_data.tar

docker run --rm -v zeronet_data:/data:ro -v $(pwd):/backup alpine:3.3 tar cvf /backup/zeronet_data.tar /data