[SOLVED] Running rtorrent via docker-compose
by amishtechie from LinuxQuestions.org on (#5C5K3)
Hello. I am trying to run rtorrent in a docker container using docker-compose. I can get the container to run with the following command:
Code:docker-compose run rtorrent bashI can't get it to run with just Code:docker-compose up rtorrentHere is the rtorrent section of the docker-compose.yml file.
Code: rtorrent:
image: jesec/rtorrent
volumes:
- "./data/rtorrent/downloads:/downloads"
- "./data/rtorrent/session:/session"
- "./data/rtorrent/watch:/watch"
- "./config:/config"
- "rtorrent-sock:/socket"
ports:
- "49161:49161"
- "49161:49161/udp"
environment:
- PUID=1000
- PGID=1000
networks:
- seedboxThe error I get when running the compose file is:
Code:Error opening terminal: unknown.How can I fix this? Thank you.


Code:docker-compose run rtorrent bashI can't get it to run with just Code:docker-compose up rtorrentHere is the rtorrent section of the docker-compose.yml file.
Code: rtorrent:
image: jesec/rtorrent
volumes:
- "./data/rtorrent/downloads:/downloads"
- "./data/rtorrent/session:/session"
- "./data/rtorrent/watch:/watch"
- "./config:/config"
- "rtorrent-sock:/socket"
ports:
- "49161:49161"
- "49161:49161/udp"
environment:
- PUID=1000
- PGID=1000
networks:
- seedboxThe error I get when running the compose file is:
Code:Error opening terminal: unknown.How can I fix this? Thank you.