Ubuntu 20.04 (x64)
rtorrent - An ncurses-based bittorrent application
openvpn
docker pull fullaxx/rtorrent-openvpn
docker build -t="fullaxx/rtorrent-openvpn" github.com/Fullaxx/rtorrent-openvpn
Input: Drop your torrents in /srv/docker/rtorrent/autoload/
-v /srv/docker/rtorrent/autoload:/rtorrent/autoload
Output: Your downloaded data will reside here
-v /srv/docker/rtorrent/torrents:/rtorrent/torrents
Configuration: Any .ovpn files or a custom rtorrent.rc can be placed in /srv/docker/rtorrent/config/
-v /srv/docker/rtorrent/config:/rtorrent/config
Session State: Use this to save your session for fast restore/resume
-v /srv/docker/rtorrent/session:/rtorrent/session
Run the image using the default port without OpenVPN
docker run -it \
-v /srv/docker/rtorrent/autoload:/rtorrent/autoload \
-v /srv/docker/rtorrent/torrents:/rtorrent/torrents \
-p 49164:49164 fullaxx/rtorrent-openvpn
Run the image using the default port with OpenVPN
Make sure that your myconnection.ovpn exists in /srv/docker/rtorrent/config/
docker run -it \
--cap-add=NET_ADMIN --device /dev/net/tun \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
-e OVPNCFG='myconnection.ovpn' \
-e OVPNSLEEPTIME='9' \
-e LOGFILE='mylog' \
-v /srv/docker/rtorrent/autoload:/rtorrent/autoload \
-v /srv/docker/rtorrent/torrents:/rtorrent/torrents \
-v /srv/docker/rtorrent/config:/rtorrent/config \
-v /srv/docker/rtorrent/session:/rtorrent/session \
-p 49164:49164 fullaxx/rtorrent-openvpn