Skip to content

Radarr in Docker on a Synology NAS

UpdateDate
Added Docker Compose details
Added new folder mappings to ensure atomic moves and Hard-linking
03/05/2021

In this guide I will take you through the steps to get Radarr up and running in Docker. As more people move away from using Couchpotato I thought it was time to get this guide up, the setup itself is very similar to Sonarr.

Downloading the Container

Open up Docker within DSM and navigate to the ‘Registry’ tab and search for ‘Radarr’ in the list of available containers select the one made by Linux|Server as shown below, right click on it and select ‘Download’ or click the button at the top of the window.

Download Radarr from Linux|Server

You can check the status of the download over on the ‘Image’ tab, while we wait for the download to complete lets move onto the next step.

Setting up a Docker User for Hydra and Obtaining the PGID and PUID

In previous versions of this guide we used your default admin account for each container, this is not very secure so please now follow the separate setup guide and then head back here.

Setting up the container

Now we have downloaded the container and got hold of our user IDs we can move onto the next stage, where we will configure the Docker container. First go back into Docker and click on the ‘Image’ tab, in the list of your containers select the ‘Linux|Server Radarr’ image and click on ‘Launch’

You will now see the initial setup screen, if you want to you can change the name of the container to something else, or if you are using a number of services on a machine with a limited amount of memory or lower powered CPU you can also setup resource limitations, this is generally not required.

The initial setup screen

Next up we are going to click on the ‘Advanced Settings’ button, this will take you to a new window with a number of tabs which we are going to work through and setup with the correct settings. On the first tab you can decide to put an icon on your desktop, you will need to specify the IP address and port so you may want to come back to this once we have decided on the port number later in the guide. The other option is to enable ‘Auto Restart’ I would suggest turning this on as this will ensure Radarr will automatically start up whenever you reboot your NAS.

Going advanced

Volumes / Mounts

We can now move onto the volume tab in which we will be specifying the directories where Radarr will be able find our existing movies, the location where your movies are downloaded to and a folder to store its configuration files.

As you can see in the screenshot you will need to browse to each of the directories and add a corresponding mount point inside the Docker container.

I generally keep all of my configuration settings in my Docker directory so they can easily be backed up. The other folders you will need to amend based on your own folder locations.

You will notice there is a consistent mount path for each of the folders that you choose to mount to the container, this is important as Docker will see all of your individual folders as one consistent filesystem rather than separate volumes. This will mean you should see much faster file moves (aka Atomic Moves) and also if you are using torrents it means you can enable hard-links

Add your existing movie and download locations

Network

You do not need to setup anything on this page.

Port Settings

We will now configure our port settings, Do not leave the port to AUTO as it can potentially change with every restart of the container and you will have to go fishing for it each time.

In our case we will just use the same port for Local and Container

Setup your port

Links

You do not need to setup anything on this page.

Environment Variables (PGID,  PUID and Timezone)

Next we are going to setup a couple of environment variables this is the user details we took note of earlier so the Docker image has the right access to the shares we just added. As well as this a new requirement is that we add the correct Timezone to the container you can do this as shown in the screen shot below, you can find a list of timezone here https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Adding the environment variables

Almost Done

You have now completed the setup of the container, click on OK to move back to the initial settings screen and then click next, you will be shown an overall summary of the settings we have specified, this is a good time to double check everything is correct. Finally click on Finish and the container should start to boot.

Final Summary

You should now be able to access Radarr via the IP of your NAS followed by the port number you specified.

Docker Compose

You can use the below code saved as radarr.yml to do the entire process above in one quick command via SSH. Ensuring you change the variables to your own media paths.

version: "3.2"
services:
  linuxserver-radarr:
    image: linuxserver/radarr:latest
    container_name: radarr
    environment:
      - PGID=YOURPGID
      - PUID=YOURPUID
      - TZ=Europe/London
    volumes:
      - /volume1/movies:/media/movies
      - /volume1/movies kids:/media/movies kids
      - /volume1/docker/radarr:/config
      - /volume1/downloads:/media/downloads
    ports:
      - 7878:7878/tcp
    restart: unless-stopped
sudo docker-compose -f /volume1/docker/radarr.yml up -d --remove-orphans

Throw me some bits

If you have found my site useful please consider pinging me a tip as it helps cover the cost of running the site, it could even buy me a beer 🙂

  • Bitcoin
  • Ethereum
  • Tether
  • Xrp
  • Polkadot
  • Binance coin
  • Litecoin
  • Bitcoin cash
  • Dogecoin
  • Tron
  • Monero
  • Omisego
Scan to Donate Bitcoin to bc1qfznx5kxad9k9z5t9y79mkm9ukfexan9a6wrzl0

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x162fc7781D3C6c6f27197A3A92567b5DAF258f19

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Tether to 0x162fc7781D3C6c6f27197A3A92567b5DAF258f19

Donate Tether to this address

Scan the QR code or copy the address below into your wallet to send some Tether

Scan to Donate Xrp to rKGpNHetksTn4dgwgpiTkg8JM4uJ3J6pam

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Polkadot to 153iRH61nXQZUXMveZxCmYyzjf1cWYVnxpHpfifoNchQuXbY

Donate Polkadot to this address

Scan the QR code or copy the address below into your wallet to send some Polkadot

Scan to Donate Binance coin to bnb14ye5rju74u5ythneaum2rjvp8eqep6wq8flghx

Donate Binance coin to this address

Scan the QR code or copy the address below into your wallet to send some Binance coin

Scan to Donate Litecoin to LfNfer3aSqLx4p8KfbbkT96ArXLXLDPxoD

Donate Litecoin to this address

Scan the QR code or copy the address below into your wallet to send some Litecoin

Scan to Donate Bitcoin cash to qrc7scd2drzsd7kywpsjfklvkmm26fqc2vd7uyvdx9

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Scan to Donate Dogecoin to DCwbNzfYHx22MDSyEVLWgfjxziYHtcgwAM

Donate Dogecoin to this address

Scan the QR code or copy the address below into your wallet to send some Dogecoin

Scan to Donate Tron to TL1Q3vY9mHnDMedHRyU8ERUAY8SzJ4FXiV

Donate Tron to this address

Scan the QR code or copy the address below into your wallet to send some Tron

Scan to Donate Monero to 45qwFr42XiA8egC5z2HdSQ2FzzP9VR1MvD5Sicg4EhGvdvTutx9GsF6DeU8DHAsTZy2ShBERjCB5rdy8iQ9CFnFu9Z6Adgw

Donate Monero to this address

Scan the QR code or copy the address below into your wallet to send some Monero

Scan to Donate Omisego to 0x162fc7781D3C6c6f27197A3A92567b5DAF258f19

Donate Omisego to this address

Scan the QR code or copy the address below into your wallet to send some Omisego

Published inDockerSynology

66 Comments

  1. Great guide, but I didn’t understand how to tell radarr to organize the movies he downloads. Should Radarr move the downloaded movies to the main “movies” folder in order to make them read a plex?

    In Radarr in “Root Folders” under settings, I cannot find the shared folder created in synology.

    • Dr_Frankenstein Dr_Frankenstein

      Radarr will automatically move the downloaded movie to the library you specified when adding it to Radarr

  2. Nico Nico

    Can’t get it to run. It starts, but I can never get to the webpage. In the logs I see this error: failed to create coreCLR.
    Followed your tutorial.
    With a normal package it works instantly, but after an update I alway have to install Radarr again because it fails to start after the update.

    • Dr_Frankenstein Dr_Frankenstein

      Ping me an email I can help troubleshoot. Would be good if you can include a screenshot of your environment variables tab.

    • Dr_Frankenstein Dr_Frankenstein

      I think there must have been an issue with the Docker package as there have been a few people with exactly the same issue. You need to uninstall and reinstall Docker it will then work.

  3. Thanks for the great guide.
    I’m about to setup Radarr/Sonarr/SABNZBD/NZBHydra on a new DS920+.
    Can I use the PUID/PGID values for a non-admin account, assuming that the account has r/w access to the relevant folders on the NAS?
    If so, is there anything else needed to configure in this way? I like using least privilege principles where possible.

    • Dr_Frankenstein Dr_Frankenstein

      Yes this would be the ideal setup

    • Dr_Frankenstein Dr_Frankenstein

      Yes you can use the same one across multiple that’s exactly how I ended up doing it.

  4. Stuart Fagg Stuart Fagg

    Thanks for your superb guides. I’ve been using them for years I’m shortly going to be migrating from one Synology to another but one with fewer bays, so straight disk swaps not possible. What would be the best way to transfer the config across (& Sonarr)? I’ll have a download of the backups & copies of the docker config folders

    • Dr_Frankenstein Dr_Frankenstein

      Hey, thankfully Docker is super easy to migrate. Just backup (copy) your existing Docker share contents to the new Diskstation, I would then do an export of the actual docker settings themselves within the Docker UI and just load them back up in the new Diskstation.

      • Stuart Fagg Stuart Fagg

        Thanks for your help. I’ve restored the docker folders to new NAS. Sonarr & NZBGet working fine but Radarr mostly working but throwing up intermittent database locked messages. Any thoughts?

        https://photos.app.goo.gl/AgwFyk84qRnxCjSS6

      • Stuart Fagg Stuart Fagg

        Thanks for your help. I’ve restored docker folders to new NAS. NZBget & Sonarr working fine but Radarr working intermittently, throwing up a load of database locked errors. Any thoughts?

        https://photos.app.goo.gl/AgwFyk84qRnxCjSS6

        • Dr_Frankenstein Dr_Frankenstein

          Found your comment in spam! Are your user permissions the same?

          • Stuart Fagg Stuart Fagg

            Thanks for the quick reply. I had to change PUID to match new set-up & propagated that user’s permission to have full access to everything in my docker share (using file station-permissions), so assumed that would pass down to all files.

            However, I’ve just now started afresh with new container & empty docker folder & used Radarr v3 restore option to restore a backup. It seems to be behaving & much quicker now (no errors yet). It’s just going through updating all the metadata/posters etc, fingers-crossed

          • Dr_Frankenstein Dr_Frankenstein

            If this is only happening occasionally it must be something else.

          • Stuart Fagg Stuart Fagg

            Something very odd is going on. I’m occassionally seeing similar errors in Sonarr too. Refreshing 1900 movies has taken 2 days. I’ve tried the Syno community Radarr too and that’s the same. I can’t help thinking something is up with my new NAS but at a loss how to narrow the issue down

          • Stuart Fagg Stuart Fagg

            Just tried with docker config on an external USB HDD and it’s flying, no errors. Looks like an issue with write speeds or similar to the NAS

          • Dr_Frankenstein Dr_Frankenstein

            OK, what drives did you use. You haven’t managed to get caught out by some of those Western Digital SMR drives?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.