Skip to content

ajw107/docker-sonarr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linuxserver.io

The LinuxServer.io team brings you another container release featuring easy user mapping and community support. Find us for support at:

  • forum.linuxserver.io
  • IRC on freenode at #linuxserver.io
  • Podcast covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!

linuxserver/sonarr

[Docker Pulls][hub][Docker Stars][hub]Build Status [hub]: https://hub.docker.com/r/linuxserver/sonarr/

Sonarr (formerly NZBdrone) is a PVR for usenet and bittorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.

[sonarr][sonarrurl] [sonarrurl]: https://sonarr.tv/

Usage

docker create \
	--name sonarr \
	-p 8989:8989 \
	-e PUID=<UID> -e PGID=<GID> \
	-v /dev/rtc:/dev/rtc:ro \
	-v </path/to/appdata>:/config \
	-v <path/to/tvseries>:/tv \
	-v <path/to/downloadclient-downloads>:/downloads \
	linuxserver/sonarr

Parameters

The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.

  • -p 8989 - the port sonarr webinterface
  • -v /dev/rtc:/dev/rtc:ro - map hwclock as ReadOnly (mono throws exceptions otherwise)
  • -v /config - database and sonarr configs
  • -v /tv - location of TV library on disk
  • -e PGID for for GroupID - see below for explanation
  • -e PUID for for UserID - see below for explanation

It is based on ubuntu xenial with S6 overlay, for shell access whilst the container is running do docker exec -it sonarr /bin/bash.

User / Group Identifiers

Sometimes when using data volumes (-v flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user PUID and group PGID. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" TM.

In this instance PUID=1001 and PGID=1001. To find yours use id user as below:

  $ id <dockeruser>
    uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)

Setting up the application

Access the webui at <your-ip>:8989, for more information check out Sonarr.

Info

Monitor the logs of the container in realtime docker logs -f sonarr.

  • container version number docker inspect -f '{{ index .Config.Labels "build_version" }}' sonarr

  • image version number docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/sonarr

Changelog

  • 30.09.16: Fix umask
  • 23.09.16: Add cd to /opt fixes redirects with althub (issue #25) , make XDG config environment variable
  • 15.09.16: Add libcurl3 package.
  • 09.09.16: Add layer badges to README.
  • 27.08.16: Add badges to README.
  • 20.07.16: Rebase to xenial.
  • 31.08.15: Cleanup, changed sources to fetch binarys from. also a new baseimage.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%