juev / docker-arti

Docker image to run Arti, the Tor implementation in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Arti

Dockerfile of the public image ghcr.io/juev/arti:latest to run Arti, the Tor implementation in Rust.

Pull the image:

docker pull ghcr.io/juev/arti:latest

Run the image:

docker run -p 9050:9050 ghcr.io/juev/arti:latest

Run the proxy on different port:

docker run -p 9150:9150 ghcr.io/juev/arti:latest proxy -p 9150

Docker compose

ipv6

Create or edit file /etc/docker/daemon.json:

{
  "ipv6": true,
  "fixed-cidr-v6": "2001:db8:1::/64"
}

then reload configuration:

systemctl reload docker

Then create new network:

docker network create --ipv6 --subnet="2001:db8:1::/64" --gateway="2001:db8:1::1" mynetv6-1

configuration

version: '3'
services:
  arti:
    image: ghcr.io/juev/arti:latest
    ports:
      - "8080:8080"
    restart: always
    volumes:
      - "$PWD/config.toml:/home/arti/.config/arti/arti.toml"
    networks:
      - mynetv6-1
networks:
  mynetv6-1:
    external: true

If you not used ipv6 network, just remove this section:

    networks:
      - mynetv6-1
networks:
  mynetv6-1:
    external: true

About

Docker image to run Arti, the Tor implementation in Rust

License:MIT License


Languages

Language:Dockerfile 94.4%Language:Shell 5.6%