Skip to content

Sonarr in Docker on a Synology NAS

Added Docker Compose details
Added new folder mappings to ensure atomic moves and Hard-linking

Downloading the Sonarr Image

The first step is to download Sonarr from within Docker. Open Docker and click on the registry tab, in the search box type ‘Sonarr’ the version we are using in this guide is from Linux|Server as they are always kept up to date. You can either right click on the Sonarr image and click download, or just click on it once and press the download button.

Before the container begins downloading you will be given a choice of what version to use, at the time of updating this guide if you select ‘latest’ you will receive V2 with the older interface. If you select ‘preview’ you will get v3 which brings the interface in line with Radarr. After clicking OK the container will begin to download in the ‘Image’ tab you can track its progress until the download completes.

Setting up a Docker User for Sonarr 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

Once the download has finished, select it from the list and click on ‘Launch’, this won’t actually start things yet you effectively launch the setup process.


As you can see in the screenshot above you will initially need to give your container a name, in this case I just left it as the default, but you can call it whatever you want then click on ‘Advanced Settings’

‘Port Settings’

We need to assign the container some local ports for it to be reached on.

Whatever you do, don’t leave the local Port to auto, this will mean the container will be assigned a new port number every time it starts, meaning you have to keep looking it up each time you want to access the Sonarr interface

In our case we need to setup two ports for Sonarr, one for its Non SSL port and one for the SSL port (the SSL port is not on by default, you will need to turn this on once Sonarr is up).

As per the screenshot below just use the same port numbers for both local and container.

Volumes / Mounts

We can now move onto the volume tab in which we will be specifying the directories where Sonarr will be able find our existing TV shows, 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

Environment Variables (PGID,  PUID and Timezone)

Next we are going to setup a couple of environment variables, in the variable column enter PGID, PUID and TZ. In the first two enter the value you obtained earlier, you can find a list of timezones here

Adding the environment variables

Now you can click OK which takes you back to the first screen from earlier, click next to see a summary of your setup.


Click apply and your Sonarr container will now start up, give it a minute or so for its first launch.

Now you just need to navigate to your NAS IP and the Non SSL port we setup earlier, once you are in Sonarr you can enable SSL to access via the alternative SSL port we also setup.

Now if you are looking for some help setting up Sonarr itself head over to our configuration guide

Docker Compose

You can use the below code saved as sonarr.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"
    image: linuxserver/sonarr:latest
    container_name: sonarr
      - TZ=Europe/London
      - /volume1/docker/sonarrv3:/config
      - /volume1/downloads:/media/downloads
      - /volume1/tv:/media/tv
      - /volume1/tv kids:/media/tvkids
      - /volume1/tv anime:/media/tv anime
      - 8989:8989/tcp
    restart: unless-stopped
sudo docker-compose -f /volume1/docker/sonarr.yml up -d --remove-orphans
Published inDockerSynology


    • Dr_Frankenstein Dr_Frankenstein

      Hey let me read up and come back, the advice isn’t bad it’s just likely not optimal depending on your setup.

    • Dr_Frankenstein Dr_Frankenstein

      OK the PATHS in the Servarr guides make sense, (I am learning as I go as well) I need to have a look at how best to explain in these guides, without causing too much confusion.

      Also it’s a little unfair saying the PATHS i am giving out are bad this should be directed towards the Linux|Server team as feedback, I am using their suggested paths.

      I would like to understand what you mean around the ‘poor docker advice’ element what I am advising incorrectly?

      Thanks I welcome all feedback!

      • bakerboy448 bakerboy448

        your paths and the paths LSIO has in their compose file (Which is recommended over docker run) (no the paths are not recommended by LSIO) cause double space for seeds and slow i/o intensive copy + deletes rather than hardlinks and atomic moves

        it also creates frequent and easy permissions issues

        • Dr_Frankenstein Dr_Frankenstein

          Thanks, I think I get this completely… if all the containers have a common folder structure such as NZBGet and Transmission have the /downloads share on the NAS mounted to /media/downloads and then the respective tv shows/movies/music folders for Radarr etc mounted like so…


          As far as all the docker containers are concerned they are all using a common /media volume thus removing the actual file moves…. so simple if this is the case…

  1. Thanks for the guide, very useful. I am successfully running the Sonarr docker container and almost everything works except Sonarr (docker version) cannot communicate with SABNzbd (non-docker version). For Host I am using the LAN IP of my Synology NAS and the port that SAB is using, but I get the timed out error message. Any ideas? Thanks again.

  2. Tyler_ Tyler_

    Any chance you bring back the configuration guides?
    your posts are super helpful. thanks a lot!

  3. Trimpo Trimpo


    I have everything installed and I can see the container working,
    but I can’t reach sonarr on the designated port.

    Do you need to set up something else in synology to get this to work?


    • Trimpo Trimpo

      Ok, maybe using the local ports and not the container ports would help 😀

      So nevermind, fixed it myself!

      • Dr_Frankenstein Dr_Frankenstein

        Glad you fixed it

  4. Michi491 Michi491

    Great Tutorial.
    Have you ever tried using your NAS as a DLNA media player ?. Because if you do so, you’ll encounter a problem with synology not indexing your new downloaded files. Are you aware of it ?

  5. jangles123 jangles123

    Hi, thank you very much for your content. It is very helpful.
    I’m currently trying to setup SAB on my Synology NAS and when I go into SAB settings to define the folders for complete and incomplete, I cannot find or navigate to /volume1 where I have an existing downloads folder setup. Any help would be appreciated.

  6. Hi everyone, thanks for this guide Dr_Frankenstein! I’m facing a setting issue, and don’t really know how to solve it.

    On my local HDD, I have these paths:

    /volume1/nas/downloads (DownloadStation downloads folder)
    /volume1/nas/series (My series folder)

    In my docker config, I mounted folders as:

    /docker/sonarr > /config
    /volume1/nas/downloads > /downloads
    /volume1/nas/series > /tv

    When I sh the container, I see and browse both “downloads” and “tv” folders. My sonarr series path is “/tv” and they’re all properly listed and monitored.

    I set DownloadStation to download my torrents, but here comes the issue, torrent is properly sent to DownloadStation, when when it’s trying to move to the serie folder, sonarr gives me an error:

    “No files found are eligible for import in /volume1/nas/downloads/The.Last.Dance…”

    I understood Sonarr is trying to read a local folder, not a mounted one in his container. How to make work with his path “/downloads” instead of “/volume1/nas/downloads”?

    I have 2 settings that could be the thing:

    The remapping path in Download clients:
    And the download path of my DownloadStation configuration:

    But it says “download” is not a valid shared folder. Can you help me to find the way for Sonarr and DownloadStation communicate properly ?

    • Dr_Frankenstein Dr_Frankenstein

      Hey, can you pop a picture up of the mounts you used in Docker as I suspect you are using the incorrect file path as Sonarr won’t see the /volume1/…

          • thanks for your video 🙂 I reached this too, and working fine. Problems come later when DownloadStation finishes the download. Sonarr is unable to move / process the file, but I suspect a PUID/PGID issue. You’re using 1026/101 that is not my user’s one, maybe this should be added in your guide? (most of basic users will simply fill your numbers, without understanding that they should match with a user on their NAS).

          • Dr_Frankenstein Dr_Frankenstein

            Good point, I will amend the guide and screenshot its on my to do list. As they need to both have the same permissions otherwise you will get the access denied error

    • Michi491 Michi491

      The solution is to set your Remote Path Mapping :
      Host : you Nas ip on the LAN
      Remote Path : volume1/Download
      Local Path : /downloads.

  7. Qew Qew

    Thanks Frankenstein, These guides help a lot. I have a question. In all your guides i don’t see the pre-set variables in the environment. As an example for rutorrent i see : Path – /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin, PS1 – $(whoami)@$(hostname):$(pwd)\$
    HOME – /root
    TERM – xterm

    Do i have to remove those or keep them untouched?

    • Dr_Frankenstein Dr_Frankenstein

      Hey, just leave them in place, when I did my screen shots the Synology interface hid a lot of the default variables. One of the updates exposed them. I have a quiet weekend ahead so finally spending some time at updating images in the guides.

      • Qew Qew


  8. Donald Webster Donald Webster

    Because you’re passing in *two* volumes, hard links *can’t* work (even if they could) which means all torrens are copied and long term seeders will waste space. And *all* moves will be io intensive copy + delete even if they could have been atomic.

  9. Thomas Jespersen Thomas Jespersen

    On a DS218+ with a fresh install of Sonarr I get pretty high CPU usage (30-50%) and the sonarr webpage is unreachable.

    How would I debug this? I looked in the docker log but it’s not helpful. It just says the services started.

    I have set it to install ‘latest’ version. Would an older version work better?

    • Thomas Jespersen Thomas Jespersen

      I would like to add that Radarr and Sabnzbd got a cpu usage of about 0.1% (idle like sonarr should be).

    • Thomas Jespersen Thomas Jespersen

      Alright forget it. I had messed up and my “/config” folder was not empty. I deleted it and created a new and now it seems to work.

      • Dr_Frankenstein Dr_Frankenstein

        Easily done 🙂

  10. Bruket909 Bruket909

    Hi all, I’m hoping somebody can help me with the set up of Sonarr/Radarr & SABnzbd using Docker on a Terramaster NAS – TOS 4.1.X.

    Most of the guides I have come across like this one are based using Synology. So I have been trying to do my best to cobble the info together and make this work using TOS, for the most part they seem pretty similar. I have a few questions that need answering below, I’m a bit of a nov when it comes to Docker and this sort of thing, but have successfully been able to set up SAB, Sickbeard and Couch potato before on a Mac Mini that worked perfectly.

    The main issue (I think) where its all going wrong is the file paths.

    Currently I have a configs folder in /appdata with separate folders for sonarr, radarr and sabnzbd.

    So in the Volumes section in the Docker set up, the File/Directory part is listed as /mnt/md0/appdata/configs/sonarr when I select the sonarr folder and the Loading path is listed as /config (I have not created a config folder in /mnt/md0/appdatta/configs/sonarr) – should I have done this? I did not gather that from Dr.F’s guide – also his File/Directory did not list the fist part mine did /mnt/md0/ should i be including this in the Loading path section too?.

    Does this seem right? As I’m thinking I should be creating these folders inside the docker folder volumes e.g, /appdata/docker/volumes/configs/sonarr (still not sure if I should be creating the config folder after this or not?)

    I mention this because I have found that currently once they have been set up, Sonarr, Radarr and SABnzbd are all creating random folders in the /appdata/docker/volumes with names like: 0b2971d61cd7274bdba14edf36a7482f50ab04a5afaf5279c6331a310f0f3e6f
    and inside these folders are things like Downloads Admin and Logs folder plus config.ini and config.ini.bak

    This may also help in understanding, when i launch SABnzbd i am confronted with the message: Cannot write to INI file /datadir/config.ini

    Hopefully somebody will be able to decipher where i’m going wrong and point me in the right direction.

  11. Andy Andy

    Any chance of a guide for docker Synology Ombi be much appreciated like the above one..?

  12. Shawn Janes Shawn Janes

    You know when it works it’s a beautiful thing. Thank you! It was Sabnzbd that was passing the incorrect path. I truly appreciate your guidance. This is a far superior setup than what I was using for the past 8 years. Now on to setting up Radarr. Thank you again and for your patience in helping.

    • Dr_Frankenstein Dr_Frankenstein

      No problem, Radarr is an almost identical setup process so if you do exactly as you did with Sonarr you will be up and running really quickly..

  13. Kokanee Kokanee

    Thanks for the making this guide. Everything’s working!

  14. Dr_Frankenstein Dr_Frankenstein

    Looking at your first screenshot you may have the file path a bit wonky in Sonarr itself. In Sonarr try a manual import and see if you can actually browse to that file.

    • Yes, doing a manual import works perfectly. The file is grabbed, renamed, and moved into the TV folder.

      Does that help?

      • Dr_Frankenstein Dr_Frankenstein

        OK that’s good as it means you have the permissions correct. Your first screenshot shows Sonarr is trying to look in the folder /config/Downloads/complete… it wont be able to see that filepath it only sees /downloads… did you type that filepath into Sonarr somewhere?

        • No, the only place I see to do that in Sonarr is Settings > Client Download > Remote Path Mappings. Nothing is there. Aside from the volume paths, which we just tested, I adhered to the guide, at least I thought. 🙂

          If you think it would be best I can wipe it all and start over. I mean it’s not terribly difficult, I’m just not sure where that import path is coming from, I don’t have it mapped anywhere in Sonarr or in the volume mounts in Docker.

          • Dr_Frankenstein Dr_Frankenstein

            Sab might be passing that filepath to Sonarr do you have the identical mappings in Sab as you do in Sonarr… so Sab should just see the /downloads folder so when it finished a download it tells Sab hey you can find the file I downloaded here…

  15. Hi, great guide! I’m an idiot though lol. I am transitioning from a NetGear ReadyNAS with Sabnzbd and Sickbeard to Synology 918+ with Sabnzbd and Sonarr. I’ve gotten Sonarr and Sabnzbd setup. They communicate with each other and downloads occur. What I can’t figure out is how to get Sonarr to move and rename the file. I keep getting the following error in Sonarr, ‘Import failed, path does not exist or is not accessible by Sonarr: /config/Downloads/complete/Prodigal.Son.S01E09.Pied-a-terre.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb’.

    Here are some screenshots of my config – maybe someone can lend a hand and point me in the right direction.

    1 –

    2 –

    3 –

    4 –

    Thanks for any guidance. Hopefully it’s something simple I overlooked.

    • Dr_Frankenstein Dr_Frankenstein

      Hey, start with the obvious as it’s usually something simple, did you mount you downloads folder on the Sonarr container and does it have permission to view it.

      • When you say mount, do you mean under Docker > Sonarr > Advanced > Volumes? If so this is what I have:

        Media/TV => /tv
        docker/sabnzbd/Downloads/complete => /downloads
        docker/Sonarr /config

        I also confirmed permissions – the user has read/write permissions on all Docker folders and these folders are under the Docker directory with he exception of Media/TV which is a root share, but again permissions for this users are read/write there.

        Sound right so far?

  16. Cy Cy

    Thank you so much for posting such an incredible set of instructions!

    I do have one question (Don’t know if I missed something)

    The files won’t move to their correct folder upon downloading, is there a script I need to run? Haven’t had this issue when running outside of Docker.


  17. Xander Xander

    Thanks for the guide, this made it easy to set up Sonarr in Docker on my DS218+ after I got some problems with the SynoCommunity version.
    One thing I can’t seem to get going though, is the Synology Indexer. It worked fine on the native version, but apparantly Sonarr doesn’t recognize that it’s still on a synology when it’s run inside a Docker container. Do you have any idea how to get this working? It’s needed if I want to use DS Video to stream video’s to my chromecast.

    • Dr_Frankenstein Dr_Frankenstein

      I did a quick Google and it looks like people have put together various scripts that can be run to kick off the Synoindexer process. It’s probably Worthing giving one of them a go.

      • Xander Xander

        Thanks I must admit I haven’t searched very good for this…. I’ll take a look around and report back here when I get it working.

  18. IJ IJ

    Hi, I have Sonarr running via a standard package on on my NAS at the moment so therefore out of Docker.

    I want to change this to run inside Docker and am going to follow your instructions. One question though is how do I then migrate the current settings and database detail from my source Sonarr to my target Docker Sonarr?

    Any help would be appreciated.


    • Dr_Frankenstein Dr_Frankenstein

      You can use the built in backup option in the Sonarr system settings and then import that into the Docker version once you have done the initial setup

  19. I’m at this step: Now you just need to navigate to your NAS IP and the Non SSL port we setup earlier

    I assume this means via web browser.

    I followed the steps exactly, now I go to and I get connection refused. I try :9898 as well, same thing.

    I’ve gone to my router settings and enabled TCP port forwarding for both ports for (and yes, that is my NAS address)

    what could the issue be?

    I also had a issue with Putty, but figured out on my DS918+ I had to enable SSH service in the Terminal & SNMP settings.

    Yes, the container is running as well. I can see it’s been up for 17 minutes.

    Please help

    • gerard gerard

      I have had the same issue, somehow i can find sonarr at:

      Not comepletely sure what went wrong, i followed the tutorial exactly and in the settings>general tab on sonarr it also says: port number 8989..

      And it works so i aint complaining though, hope it helps for you!

      • Havoc79 Havoc79

        Please take pics of all the setup tabs so we can examine further

    • Dr_Frankenstein Dr_Frankenstein

      When I was doing these tutorials I used some random port numbers for the containers in order not to clash with anything DSM uses. so if you didn’t specify a specific a port during your setup it could be allocated anything, you will be able to see what it is using by clicking on the container details while it is running and looking at the ports.

      If those ports show as blank it means they will be running on the default Sonarr port numbers.

  20. Matt Matt

    Anyone know a fix for

    Import failed, path does not exist or is not accessible by Sonarr: /config/Downloads/complete

    • Dr_Frankenstein Dr_Frankenstein

      Check the path you setup in the Docker UI as Sonarr shouldnt know about the /config/ part.

  21. rene rene

    i followed your guide and it looks great . i did everything you said it all worked well till the point that i have to acces the sonar page ,, it says not available .
    how or what needs to happen before that works ?

    • Kieran Kieran

      Im also having this problem. Cant open the sonar access page using the local port created???

      • Havoc79 Havoc79

        My setup is a little different, so this is tough to troubleshoot for me. Until DR_Frankenstein responds, let me direct you to my incomplete staging area to give you a different option in the meantime.
        Note there are 4 guides there.

  22. CF CF

    I apologize for the multiple posts, it’s moving the files to /video instead of /video/Shows

    • CF CF

      Looks like I got it to work. I didn’t know you could have multiple mappings to the same folders.

      /video/Shows – /video/Shows
      /video/Shows – /tv

  23. CF CF

    Hi there, I am having an issue with Sonarr not moving the files to the right location. This is how my container volumes are setup:

    /video – /video/Shows
    /video/Shows – tv
    /downloads – /downloads
    /docker/Sonarr – /config

    /video/Shows is the location where I keep my library. However, Sonnar is moving the files to /video/Shows/Shows/*NameShow*

    What am I doing wrong? Everything else seems to be working properly.

    • CF CF

      Actually, the files are being moved to /video/Shows and not into the folder with the show’s name. When I try to edit the show from Sonarr’s interface, the option is to use /video/Shows/Shows/*ShowName*

  24. Gavin Gavin

    Great article, any chance you could share some wisdom on the simplest way to upgrade the version of Sonarr? Given docker images are not persistent, how do we make sure we’re running the latest version?

    • Dr_Frankenstein Dr_Frankenstein

      Hey sorry for the late reply, been away.

      I am using the ‘Develop’ branch of Sonarr which you can choose when first downloading the Docker image.. this version will auto upgrade when you restart the container.. well it seems to I am currently on Version

    • CF CF

      You can do that from the Sonarr interface. System – Updates

  25. Dustin Dustin

    Under the container> details > terminal, I mistakenly hit Create and now there are 4 “bash” titles. When I click delete they keep coming back. Any idea how to get rid of these?

  26. scott scott

    This is a site by the same author and another co-writer I have gotten to know through a ton of emails back and forth as I was having a lot of issues setting up docker, as I was totally knew to it. These guides have been re-written to be more thorough and detailed, and I swear, if you follow them to a T, everything will work properly.

    The guide calls for checking the aforementioned box, and I never has issues on restart, nor do I ever have to reboot my NAS aside from DSM updates…once or twice while trying to get NZBunity to work, I had to reboot the NAS to make new dyndns issues work properly, but other than that using these guides works like a champ.

    Also, I was in the same boat as you with using SAB…I fussed and cried about getting it to work properly, so the author persuaded me to switch over to nzbget (because it was the one he really knew how to use well and it was the one in the guide so it was easier to troubleshoot settings), and it is DEFINITELY faster and uses a LOT less system resources, not to mention it unpacks and assembles media quickly as well. Also, which NAS do you have? I am asking cause I have a DS416play, and it came with 1GB if I recall and I bumped it up to 8GB which helped SOOO much.

  27. Eric Eric

    No, I wanted to leave SAB and sonarr “contained” (lol, see what I did there?) within the docker bridge network.

    Is there a way to assign them static IPs within that?

    If not, can I change them to “use the same network as the docker host” without deleting them and going through setup again?
    I had configured SAB to “use the same network as the docker host” previously and had difficulty changing the default port. Any insights there?


  28. scott scott

    Did you check the box in BOTH containers that says to “use the same network as the docker host” on the Network tab during container setup? It’s in the advanced settings tab on the general page of the container setup

  29. scott scott

    Does your synology have a static IP?

    • Eric Eric

      Yes it has a static external IP to the network.

      The problem is that the IPs on the docker bridge network keep flip flopping and I don’t know how to assign a static IP to a container.

  30. Eric Eric


    I’ve got Sonarr and SABnzbd set up and running well in Docker on a Synology. They are both on the same “bridge” network inside of Docker.

    Whenever I reboot the Synology SOMETIMES Sonarr will get and SAB will get, and SOMETIMES it will be vice versa. When this happens I have to manually tell Sonarr which IP to find SAB on. ( or

    How should I approach this problem?

    Thanks for any suggestions.

  31. scott scott

    folder not writeable by user abc

    I see this as a common problem online, yet i cant get a solid answer on how to fix it. I know practically nothing about docker, much less linux…please help?

    DS416play…SAB is up and running fine, sonarr appears to be up and running fine, I just cannot add shows/create a save path for shows because of this issue.

    • Dr_Frankenstein Dr_Frankenstein

      The only thing I can really suggest is checking you have the correct PUID and PGID setup as these will ensure the containers have the correct access to your shares.

    • Havoc79 Havoc79

      I think I found your Synology Forum post. Let’s troubleshoot there. If not, create a post and we can troubleshoot further.

  32. Mike Mike

    Shoot, I had another question…..
    I have a tv and a kids_tv folder to split up my child appropriate shows. I’ll probably have to google it, but any thoughts on how to implement this in the docker setup? With Sickbeard, I was able to send shows to different folders upon adding a series.

    • Dr_Frankenstein Dr_Frankenstein

      I have the exact same setup, with also a third folder for Anime… you simply add them as additional shares with a corresponding name… as per the screenshot attached (my setup)

      Personal Setup

      Forgot to say, once you add these additional folders in Sonarr it will let you choose which directory to use for new shows.

  33. Mike Mike

    In the NZBGet guide you Tick the ‘Enable Auto Restart’ this will ensure the container starts up automatically if you reboot. Shouldn’t we do the same for this Sonarr?

    • Dr_Frankenstein Dr_Frankenstein

      Yes, this will be the same for any container you want this to happen on..

  34. Louis Louis

    Hey mate,
    Thanks for the guides. Have really helped me.
    I have Sonarr and SAB now set up. Sonarr is sending the download to SAB fine, however the TV Show is just sitting in my completed ‘Downloaded’ folder and not being renamed and moved by Sonarr.
    Is there something really obvious I am missing?

  35. James James

    I am getting at boot up:
    EPIC FAIL: System.IO.FileNotFoundException: Could not find file “/etc/localtime”

    I believe this is the same issue as Ali Raza. Any suggestions?

      • James James

        Fixed it. Added environment variable TZ = America/Indianapolis

      • Dr_Frankenstein Dr_Frankenstein

        I just didnt set that up you only need to do the ID variables, the localtime just means it will know what time it is. but as you noted you can use TZ =

        • Mitchell Mitchell

          I was having the same issue, and had to set TZ to get it to run. Not sure if there was an update to the docker image that created this issue recently.

          • Dr_Frankenstein Dr_Frankenstein

            I will get the guides updated for both Sonarr and Radarr as it looks like this has changed for both.

        • Dr_Frankenstein Dr_Frankenstein

          Thanks, both Sonarr and Radarr guides have been updated with the information

        • Dr_Frankenstein Dr_Frankenstein

          Yup just enter the timezone as Europe/London don’t worry about the code

      • Dr_Frankenstein Dr_Frankenstein

        Both guides have been updated with this, it looks like its a new requirement

  36. Jim Jim

    Would you be willing to do a step by step for Radarr? I’m assuming its the same as Sonarr but I’m having issues for some reason. I did this exactly but seems to be an issue with the ports maybe? Your guides have been extremely helpful for me by the way. Thanks so much

    • Dr_Frankenstein Dr_Frankenstein

      Yes, I just started using it myself, the setup is almost identical to Sonarr, you just need to specify a different folder for /config on your DS and your movie(s) folder can just be mounted to whatever folder internally you want.

      I am a bit behind with guides I will see what I can do 🙂

      • Jim Jim

        I think I have everything right. But can’t get it to open. What are the port settings you are using? It just won’t open for me. I tried not as 7878 then tried a different local one.

          • Jim Jim

            You are the best. Started over and tried again with your screenshot and it’s up and running. Not sure what I did wrong the first time. You’re the best and I owe you a beer and a shot. Thanks again man. Good chance I’ll bother you again haha. By the way love the kids movies folder. I Have the same. Haha. Have 3 kids under 4 and they all are plex masters.

          • Dr_Frankenstein Dr_Frankenstein

            No problem, it’s most likely I will do a full guide at some point. And yes I set my son up his own plex account to keep his movies separate from the adult ones.

  37. jaithn jaithn

    hey guys,
    thanks for the guide. everything worked just fine, but I cannot add new series. I get the error: “Folder is not writable by user _apt”. Strange is that _apt isn’t my user. My user is called sonarr has the PUID 104 and GUID 65538. Sonarr is the owner of my media folder.

    Did I mess something up?

    Thanks for your help,

    • Dr_Frankenstein Dr_Frankenstein

      I would just keep things simple and use the admin PUID and GUID that way you can be sure the rights will just work. And when I say admin I mean any admin level user.

      • trevor trevor

        Just a heads up. In the image when adding the environment variables you have PUID and GUID, when it should be PUID and PGID.

        • Dr_Frankenstein Dr_Frankenstein

          Thanks fixed

  38. Ali Raza Ali Raza

    Thanks for the detailed guide. I could not get it to work. The docker works fine and it is running but when I use the local address and the port i get a “site cannot be reached”
    I have followed the instruction to the dot and the same. Please help.

    • Dr_Frankenstein Dr_Frankenstein

      Hi are you trying to connect to the non SSL port to start with as the SSL one needs to be enabled within Sonarr when you set it up. What port number are you using for the local port?

      Also has Sonarr created its setup files within the volume you mapped to config, just to be sure it has started up correctly.

      • Ali Raza Ali Raza

        I followed your guide and used the same ports as per the guide. The files were created in the folder for sonarr. I also tried with sabnzbd guide and the same. I think there is a problem other than the guide. When I setup the user it setup a regular user who then I added to the administrators group my GUID is 100 and not 101. Could that be a problem…other than that everything is the same.
        I setup a volume X and my folders /X/Downloads/ etc

        • Dr_Frankenstein Dr_Frankenstein

          It sounds like your permissions are OK as the files are being created in the folder you set mapped to /config, it may be worth just using the same port number (8989) in both the local and container port, the only reason there is to change them is if it conflicts with another service, or if you are port forwarding out to the internet they are on ports not associated with these applications.

  39. Nicolas Nicolas

    Thanks, but in fact I found the answer here:
    As said we need to “Edit Sonarr container “links” and add nzbget as a linked container. Use the alias that you set for the linked container to resolve nzbget, this will allow Sonarr to talk to the nzbget container.”
    I think this should be added to the guides here. They were helpfull, but it seems to me that this behavior of Docker should be explained for noobs like me!
    Thanks for your answers anyway.

    • Gabriel Lundmark Gabriel Lundmark

      Nicolas, that isn’t necessary as long as port forwarding is set up properly in your router.

      • Gabriel Gabriel

        Or if you do as I described above and use bridged network.

        This is the absolute easiest way of doing it, because it doesn’t require port forwarding, it doesn’t require linking between containers and it doesn’t require remembering arbitrary port numbers that aren’t the same as what’s stated in the apps.

        I run all containers with bridged network and localhost works fine on SABnzbd, CouchPotato, Headphones and Sonarr. This is my preferred method.

      • Nicolas Nicolas

        Thanks for the feedback and I’ll look into bridged network but port forwarding is a bit complicated on my side as I have two routers working together due to some poor technical service from my ISP (If I could I would have gone with only one).
        I must say otherwise that setting up the links in Docker was also surprisingly easy!

    • Dr_Frankenstein Dr_Frankenstein

      Strange I just used the IP address of the NAS plus the Docker port

    • JR JR

      You fix my problem. I kiss you.

  40. Nicolas Nicolas


    Thanks for the guide. I have setup NZBGet and Sonarr to run in Docker on my Synology DS1515+ according to your guides. However I have troubles getting Sonarr to connect to NZBGet. Under Sonarr Settings/download clients/add NzbGet what should be the parameters? it seems that localhost doesn’t work and I’m not sure if port should be the default 6789 or 32801 which I’ve used to configure NZBGet in Docker. Any help would be appreciated!

    • shkeebee shkeebee

      Rather than localhost – try using the local ip address of your Synology box.

      • Gabriel Lundmark Gabriel Lundmark

        Also you need to provide the port set up in Docker, not the real port. Or you can use bridge network. This is what I’ve done and it means you don’t have to change any ports—whatever the app uses in Docker, it uses externally too.

  41. Eric Eric

    Thanks Dr. Frankenstein, great work.

    I’ve got sonarr and sab running in Docker, with plex running as a package on my synology.
    There’s a feature in sonarr that will alert plex to new content. How do I get things inside Docker to communicate with regular programs like plex.


    • Gabriel Lundmark Gabriel Lundmark

      Eric, use the external IP or address and port number. So instead of typing localhost:32400, or for Plex, set up port forwarding in your router and use

  42. Darren Darren

    Dr. Franken. Thank you so much for this guide. It took a matter of minutes to get this reconfigured from a PC to my NAS. Of course, adding the 200+ series’ took quite some time to complete on the NAS. Amazon should pay you because I just ordered 16GB of RAM to toss in my DS1815+ so I can run more Docker apps.

    Fantastic work!

  43. Gabriel Gabriel

    These guides are so great! I’ve been having issues with Sonarr running directly on DSM from SynoCommunity and this Docker image seems to be much more stable.

    However, I can’t for the life of me get neither Sonar nor CouchPotato to connect to Transmission when they’re running in Docker. They both connect just fine when they’re running ‘normally’. I’ve put in the right IP and credentials, so there seems to be an issue with Docker.

    Any ideas?

    • Dr_Frankenstein Dr_Frankenstein

      I will get back to you as I am not at home to test at the moment using the extremely slow hotel WiFi

      • Gabriel Lundmark Gabriel Lundmark

        Seems to be a port forwarding issue. Sometimes it works and sometimes it doesn’t. I’m not sure what causes it, but I managed to fix it (for now at least) by replacing my internal IP ( with my public host name ( It shouldn’t matter I think because I can access Transmissions web Ui with that internal IP, but for some reason Sonarr and CouchPotato can’t. Weird.

        Also thinking of installing Transmission in Docker instead. It’s currently running in SynoCommunitys package. Would love a guide on that 🙂 great job

        • Dr_Frankenstein Dr_Frankenstein

          Let’s see what happens when I am back at the weekend.

  44. Shkeebee Shkeebee

    Hi there,

    Thankyou for the guide, greatly appreciated! I am having an issue where nzbget does not seem to create all of the folders required. NZBGet created the following folders in the “downloads” folder:


    The “complete” folder was not automatically created – do I need to manually create this directory ?

    Thankyou for your assistance.

    • Dr_Frankenstein Dr_Frankenstein

      Hi I am going to sat yes you have to as I can’t remember if I already had a completed folder due to moving over from SAB. Once you create it just make sure you check that NZBget is set to put files in it from the settings.

      • Shkeebee Shkeebee

        Thank you for the swift response. In the end once a NZB was added to NZBGet it automatically created the intermediate and completed directories.

        Interestingly enough, I had to configure the shares for sonarr to point to the top level directory of the downloads folder. If i set it to /downloads/TV/complete sonarr would whinge about not having permission to the shares and as a result the completed downloads were never moved across to their correct path.

        Thanks again for the guide, wouldn’t have gotten far without your assistance!

    • ny23 ny23

      can you post what the top level directory should look like?

      • Dr_Frankenstein Dr_Frankenstein

        Yes I am on holiday at the moment so will sort that when I get back

  45. ww_crimson ww_crimson

    Thanks bud! I owe ya one.

  46. ww_crimson ww_crimson

    This guide was really helpful. I didn’t see the environment variables mentioned anywhere else. I was also having the same problem as a commenter up above who said their Sonarr container couldn’t see the shares, even when the correct volume was mounted. I had to point to a specific folder as you suggested (as opposed to expecting Sonarr to see subfolders).

    I have one issue I can’t figure out, however. I have a Sonarr configuration backup that I’ve saved from when I was running Sonarr on a separate Synology. I can’t figure out how to restore the configuration settings from this backup (nzbdrone.db file).

    Any suggestions?

    • Dr_Frankenstein Dr_Frankenstein

      You are going to need to access the files within the Docker instance. I have not done this yet but I can’t imagine it would be to difficult. I will come back with a solution.

      • ww_crimson ww_crimson

        Appreciate you looking into it. This blog has been extremely helpful. When you were offline for a week or two I was worried it wouldn’t come back up. I haven’t been able to figure it out yet.. appreciate any help you can offer.

        • Dr_Frankenstein Dr_Frankenstein

          No problem not always quick to look into these things as working a lot but it’s the weekend so bound to have some time

    • Dr_Frankenstein Dr_Frankenstein

      OK time for a facepalm moment, if you followed my guide all the Sonarr config files including the database will be in your Docker/Sonarr folder directly on your NAS, I clearly forgot about this when replying 🙂

      • ww_crimson ww_crimson

        Ok.. so.. I started manually managing my settings, and I now see the nzbdrone.db file in /docker/sonarr .. I didn’t see it there before. I think that’s what threw me off. I’ll backup my current (manually created) configuration and try importing my old settings.. then report back.

        • Dr_Frankenstein Dr_Frankenstein

          OK cool, let me know how you get on

  47. Defeatedbythecat Defeatedbythecat

    No matter what I do, sonarr says it can’t find video files in the download folder. I’ve check and they’re there.

    • Dr_Frankenstein Dr_Frankenstein

      Have you tried moving an individual episode directly into the folder to test? Sometimes Sonarr doesn’t seem to check subfolders if they are not named as expected.

  48. Clem Clem

    This is the first clearly understandable guide to setting up Docker containers that I’ve found! Thanks for the information.

Leave a Reply

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