You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.2 KiB

Intro
=====
Running Zeronet in Docker container
Run
===
```
7 years ago
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
================
7 years ago
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.
```
7 years ago
docker network connect glue
docker network connect glue chrome
docker network connect glue zeronet
```
7 years ago
Running zeronet with docker-compose:
```
docker-compose up -d
```
And access it via `http://zeronet:43110`
8 years ago
If you wish to build the image
```
docker build -t my/zeronet .
```
8 years ago
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
```