Sonarr is one of the best services that you can install on your choice of a machine. It will allow you to automate all of your TV show downloading and just like SickRage it allows you to create watchlists that will in turn automatically download shows when they become available. I personally prefer Sonarr as it is a bit easier to use and has a friendlier interface. While you can also install Sonarr in Windows, docker offers more flexiblity and seems to be a lot easier to install.

Install Sonarr Using Docker

You can install Sonarr in a new docker container from scratch, however, ready-made containers are already available for several applications and service son the docker hub. All you need to do is pull those containers and install them. If you’re ready, then bring up your server’s terminal and get ready to install sonarr using docker.

Docker Pull Command

In order to install Sonarr using a pre-made docker container you will need to grab the latest version of the Sonarr container from the linuxserver docker hub. LinuxServer is a docker repository that hosts a variety of HTPC and home server application containers.

You can grab the container by issuing the following command:

sudo docker pull linuxserver/sonarr

Set Sonarr Configuration Parameters

After the container has been pulled, you need to configure the usage parameters of Sonarr itself. These include parameters such as port numbers, download folders locations, and more. Copy all of the lines below into a blank file and adjust them as necessary.

sudo docker create --name=sonarr \
--restart=always \
-p 8989:8989 \
-e PUID=1001 -e PGID=1001 \
-v /dev/rtc:/dev/rtc:ro \
-v /home/docker/sonarr/config:/config \
-v /home/docker/sonarr/tv:/tv \
-v /home/docker/sonarr/downloads:/downloads \

The top line creates a new docker container with the name “sonarr”. The second line ensures that the container automatically starts during boot, you can remove this command if you don’t want the container to be started automatically. The third line specifies the ports used by the service. The fourth line specifies the user ID that the container should run under, this helps us minimize permission issues that can arise between the host and the container. The fifth line maps the hwclock as ReadOnly, this will ensure that Mono does not throw an exception. The sixth line specifies the location of the configuration folder. In this example, the config folder is located in the /home/docker/sonarr/config directory. The seventh line specifies the location of the downloads folder, in this case it is /home/docker/sonarr/downloads.

Starting and Stopping Sonarr Container in docker

If you’ve done all of the above and used correct parameters, you can now go ahead and start the Sonarr container you have just created by issuing the following command:

sudo docker start sonarr

Updating Sonarr in Docker

Now that Sonarr is running in Docker, you should browse to the IP of your server with the port you’ve selected and go to System. Once you are in System, click on the Updates tab and verify that no available updates currently exist. If any new updates exist, you can click on the ‘Install Latest’ button and you will trigger an update to the latest version of Sonarr.


Sonarr is now installed and running in Docker.