The LinuxServer.io team brings you another quality container release featuring auto-update on startup, easy user mapping and community support. Be sure to checkout our forums or for real-time support our IRC on freenode at
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.
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
-p 8989- the port sonarr webinterface
-v /dev/rtc:/dev/rtc:ro- map hwclock to the docker hwclock as ReadOnly (mono throws exeptions otherwise)
-v /config- database and sonarr configs
-v /tv- location of TV library on disk
-e PGIDfor for GroupID - see below for explanation
-e PUIDfor for UserID - see below for explanation
User / Group Identifiers
TL;DR - The
PUID values set the user / group you'd like your container to 'run as' to the host OS. This can be a user you've created or even root (not recommended).
Part of what makes our containers work so well is by allowing you to specify your own
PGID. This avoids nasty permissions errors with relation to data volumes (
-v flags). When an application is installed on the host OS it is normally added to the common group called users, Docker apps due to the nature of the technology can't be added to this group. So we added this feature to let you easily choose when running your containers.
Updates / Monitoring
- Upgrade to the latest version of sonarr simply
docker restart sonarr.
- Monitor the logs of the container in realtime
docker logs -f sonarr.
- 31.08.2015: Cleanup, changed sources to fetch binarys from. also a new baseimage.