jesec / rtorrent

stable, high-performance and low resource consumption BitTorrent client
GNU General Public License v2.0
192 stars 38 forks source link

Docker image not running #56

Open SinTan1729 opened 1 year ago

SinTan1729 commented 1 year ago

I'm trying to run rtorrent inside docker with this image. But all I get is an error

rtorrent: std::bad_alloc
rtorrent: std::bad_alloc
rtorrent: std::bad_alloc
rtorrent: std::bad_alloc
rtorrent: std::bad_alloc

This is my compose.yaml file:

services:
    rtorrent:
        hostname: rtorrent
            image: jesec/rtorrent:0.9.8-r16
            container_name: rtorrent
            user: 1000:1000
            restart: unless-stopped
            command: -o network.port_range.set=6881:6881, system.daemon.set=true
            environment:
                HOME: /config
            volumes:
                - ./dlconfig:/config
                - ./data:/data
            ports:
                - 6881:6881

I'm not sure what exactly is going wrong here.

SinTan1729 commented 1 year ago

Weirdly, the exact same compose file works on my other system. The only tag that seems to work is master-amd64.

kannibalox commented 1 year ago

There was a big change in how memory allocation works between 0.9.8-r16 and master-amd64. If it works for you it's probably better just to use that image until a new release can be made.