Unrar with docker

Notice that many users has problems with rar files and sonarr/radarr doesn’t support it. Couldn’t find solutions that I was happy with so I took this opportunity to learn docker.

I’ve created a container that watches the download filer and unpack rar files as they are added.
You can see my full setup here, it’s a working progress for now.

There a tons of good bash coders that might want to contribute.

    unpack:
        image: fredrickbacker/unpack-monitor
        container_name: unpack
        depends_on:
            - sonarr
            - radarr
        volumes:
            - /media/megadrive/Media/tmp/completed:/watch
        restart: always
````