This is a small Docker container that will download a torrent from the supplied URI of a .torrent file or magnet link.
-v
: You will need to mount a local directory to/root/Downloads
-e "URI=..."
: You need to supply the torrent URI as an environment variable
Let's use the Ubuntu Server torrent in our example.
- Build or Pull
- Build
docker build -t drewpearce/bt .
- Pull
docker pull drewpearce/bt
- Build
- Run container and destroy after completion
docker run --rm -v $HOME/Downloads:/root/Downloads -e "URI=http://releases.ubuntu.com/18.04/ubuntu-18.04-live-server-amd64.iso.torrent" drewpearce/bt
- Documentation
- Support Magnet links
- Easy run script
- Post to dockerhub
- Reduce Image Size
- Investigate Alpine Linux for even smaller size