domibarton / docker-utorrent

utorrent docker image.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Docker image to run the utorrent server in a containerized environment.

The docker image currently supports:

  • running utorrent under its own user (not root)
  • changing of the UID and GID for the utorrent user

Run

Run via Docker CLI client

To run the utorrent container you can execute:

docker run --name sickbeard -v <datadir path>:/datadir -v <media path>:/media -p 8080:8080 dbarton/utorrent

Open a browser and point your to http://my-docker-host:8080/gui (Login: admin/)

Run via Docker Compose

You can also run the utorrent container by using Docker Compose.

If you've cloned the git repository you can build and run the Docker container locally (without the Docker Hub):

docker-compose up -d

If you want to use the Docker Hub image within your existing Docker Compose file you can use the following YAML snippet:

utorrent:
    image: "dbarton/utorrent"
    container_name: "utorrent"
    volumes:
        - "<settings path>:/settings"
        - "<media path>:/media"
    ports:
        - "8080:8080"
        - "6881:6881"
    restart: always

Configuration

Volumes

Please mount the following volumes inside your utorrent container:

  • /settings: Holds all the utorrent settings file
  • /media: Directory for your downloaded media

UID and GID

By default utorrent runs with user ID and group ID 666. If you want to run utorrent with different ID's you've to set the UTORRENT_UID and/or UTORRENT_GID environment variables, for example:

UTORRENT_UID=1234
UTORRENT_GID=1234

About

utorrent docker image.


Languages

Language:Dockerfile 60.0%Language:Shell 40.0%