Forked from domibarton/docker-utorrent
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 (fixed)
To run the utorrent container you can execute:
docker run --name sickbeard -v <datadir path>:/datadir -v <media path>:/media -p 8080:8080 tcharbonnel/utorrent
Open a browser and point your to http://my-docker-host:8080/gui
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: "tcharbonnel/utorrent"
container_name: "utorrent"
volumes:
- "<settings path>:/settings"
- "<media path>:/media"
ports:
- "8080:8080"
- "6881:6881"
restart: always
Please mount the following volumes inside your utorrent container:
/settings
: Holds all the utorrent settings file/media
: Directory for your downloaded media
By default utorrent runs with user ID and group ID 1000
.
If you want to run utorrent with different ID's you've to set the PUID
and/or PGID
environment variables, for example:
PUID=1000
PGID=1000