Sonarr is a popular open-source application used for managing and automating TV show downloads. Fedora CoreOS is a minimal and lightweight operating system optimized for container and cloud-native deployments. In this tutorial, we will walk you through the steps to install Sonarr on Fedora CoreOS.
Before we can install Sonarr, we need to install Docker on the server. To do that, we will use the following command:
sudo yum install docker -y
Once the installation is complete, start the Docker service with the following command:
sudo systemctl start docker
Finally, enable Docker to start at boot:
sudo systemctl enable docker
To install Sonarr, we will use the Docker image provided by Sonarr.tv. Run the following command to download the Sonarr Docker image:
docker pull linuxserver/sonarr
Once the download is complete, we can create the Sonarr container with the docker run
command.
sudo docker run -d \
--name sonarr \
-e PUID=$(id -u) \
-e PGID=$(id -g) \
-e TZ=YOUR_TIMEZONE \
-p 8989:8989 \
-v /path-to-config:/config \
-v /path-to-downloads:/downloads \
-v /path-to-tvshows:/tv \
linuxserver/sonarr
Let's go through each argument in the above command:
-d
: tells Docker to run the container in the background.--name sonarr
: provides a name for the container.-e PUID=$(id -u)
and -e PGID=$(id -g)
: sets the user and group ID of the container to match the current user's ID. This is done to avoid permission issues.-e TZ=YOUR_TIMEZONE
: sets the timezone for the container.-p 8989:8989
: maps port 8989 to the container to access the Sonarr web interface.-v /path-to-config:/config
: mounts the config directory on the host to the config directory in the container.-v /path-to-downloads:/downloads
: mounts the downloads directory on the host to the downloads directory in the container.-v /path-to-tvshows:/tv
: mounts the TV shows directory on the host to the TV shows directory in the container.linuxserver/sonarr
: the name of the Docker image to run.Once the container is running, you can access the Sonarr web interface by opening your web browser and navigating to http://SERVER_IP:8989
. You will be prompted to set up an administrator account and configure Sonarr to point to your desired indexers and download clients.
In this tutorial, you learned how to install Sonarr on Fedora CoreOS using Docker. Now that you have Sonarr up and running, you can start using it to automate your TV show downloads.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!