To run the utorrent container you can execute:
docker run \
--name utorrent \
-v /path/to/data/dir:/data \
-p 8080:8080 \
-p 6881:6881 \
-p 6881:6881/udp \
nohnaimer/utorrent
Open a browser and point your to http://docker-host:8080/gui
docker run \
--name utorrent \
-v /path/to/data/dir:/data \
-v /path/to/setting/dir:/opt/utorrent/settings \
-p 8080:8080 \
-p 6881:6881 \
-p 6881:6881/udp \
nohnaimer/utorrent
docker volume create utorrent-settings
docker run \
--name utorrent \
-v /path/to/data/dir:/data \
-v utorrent-settings:/opt/utorrent/settings \
-p 8080:8080 \
-p 6881:6881 \
-p 6881:6881/udp \
nohnaimer/utorrent
Almost all of these settings can be changed except:
bind_ip
- set as 0.0.0.0dir_active
,dir_completed
- /datadir_torrent_files
- /opt/utorrent/torrentsdir_autoload
- /opt/utorrent/autoloadpreferred_interface
- emptyrandomize_bind_port
- false
docker run \
--name utorrent \
-v /path/to/data/dir:/data \
-v /path/to/data/settings:/opt/utorrent/settings \
-v /path/to/data/torrents:/opt/utorrent/torrents \
-v /path/to/data/autoload:/opt/utorrent/autoload \
-p 8080:8080 \
-p 6881:6881 \
-p 6881:6881/udp \
nohnaimer/utorrent
Create your Docker Compose file (docker-compose.yml) using the following YAML snippet:
version: '3.7'
services:
utorrent:
image: nohnaimer/utorrent:<tag>
volumes:
- utorrent-settings:/utorrent/settings
- /path/to/data/dir:/data
ports:
- 8080:8080
- 6881:6881
- 6881:6881/udp
restart: always
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
volumes:
utorrent-settings:
- 2021-04-01 Init commit.