/docker-sonarr

Sonarr PVR in a Docker container

Primary LanguageShell

About this container

This container runs the Sonarr PVR service. More about Sonarr can be found at:

https://sonarr.tv

Running from Docker Hub

Pull and run -- it's this simple.

# pull from docker hub
$> docker pull cturra/sonarr

# run sonarr
$> docker run --name=sonarr                                           \
              --restart=always                                        \
              --detach=true                                           \
              --publish=8989:8989                                     \
              --volume=/etc/localtime:/etc/localtime:ro               \
              --volume=/path/to/config/dir:/volumes/config/sonarr     \
              --volume=/path/to/media/dir:/volumes/media              \
              --volume=/path/to/download/dir:/data/downloads/complete \
              cturra/sonarr

Build and Running with Docker Compose

Using the docker-compose.yml file included in this git repo, you can build the container yourself (should you choose to).

# build sonarr
$> docker-compose build sonarr

# run sonarr
$> docker-compose up -d sonarr

# (optional) check the logs
$> docker-compose logs sonarr

Building and Running with Docker engine

Using the vars file in this git repo, you can update any of the variables to reflect your environment. Once updated, simply execute the build then run scripts.

# build sonarr
$> ./build.sh

# run sonarr
$> ./run.sh