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
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/)
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
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 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