Just installed sonarr in docker on an x86 libreelec install on a chromebox.
Here's the service file contents:
- Description=%p container
- ExecStartPre=-/bin/sh -c "mkdir -p /storage/%p/config /storage/%p/tv /storage/&p/downloads"
- ExecStart=/storage/.kodi/addons/service.system.docker/bin/docker run \
- --rm \
- --name=%p \
- --hostname=libreelec-%p \
- -v /storage/%p/config:/config \
- -v /storage/%p/tv:/tv \
- -v /storage/%p/downloads:/downloads \
- -p 8989:8989 \
- -v /dev/rtc:/dev/rtc:ro \
- ExecStop=/storage/.kodi/addons/service.system.docker/bin/docker stop %p
Save this file on the sd card with the file name sonarr.service in any folder (ie downloads through samba or /storage/downloads through ssh)
then ssh into le, and type the following:
after that you can either reboot or start it manually with systemctl start sonarr
in a web browser, navigate to ipaddress:8989 and voila
on arm like raspberry pi, just change the one line in the service file from "linuxserver/sonarr" to "lsioarmhf/sonarr"
PS. The first time you run this, it may take a few minutes (especially on the pi) because it will need to download the images from docker and uncompress them before the container runs