Files
docker-sonarr/README.md
T

46 lines
2.3 KiB
Markdown
Raw Normal View History

2015-06-26 13:28:58 +01:00
![http://linuxserver.io](http://www.linuxserver.io/wp-content/uploads/2015/06/linuxserver_medium.png)
2015-05-10 15:11:50 +02:00
2015-06-26 13:28:58 +01:00
The [LinuxServer.io](http://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](http://forum.linuxserver.io) or for real-time support our [IRC](http://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`.
# linuxserver/sonarr
![](https://sonarr.tv/img/logo.png)
[Sonarr](https://sonarr.tv/) (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.
## Usage
2015-05-10 15:11:50 +02:00
```
2015-06-26 13:28:58 +01:00
docker create \
--name sonarr \
-p 8989:8989 \
-e PUID=<UID> -e PGID=<GID> \
2015-08-28 16:57:36 +12:00
-v /dev/rtc:/dev/rtc:ro \
2015-06-26 13:28:58 +01:00
-v </path/to/appdata>:/config \
-v <path/to/tvseries>:/tv \
linuxserver/sonarr
2015-05-10 15:11:50 +02:00
```
2015-06-26 13:28:58 +01:00
**Parameters**
2015-05-10 15:11:50 +02:00
* `-p 8989` - the port sonarr webinterface
2015-08-28 16:57:36 +12:00
* `-v /dev/rtc:/dev/rtc:ro` - map hwclock to the docker hwclock as ReadOnly (mono throws exeptions otherwise)
2015-06-26 13:33:16 +01:00
* `-v /config` - database and sonarr configs
2015-06-26 13:30:24 +01:00
* `-v /tv` - location of TV library on disk
2015-06-26 13:28:58 +01:00
* `-e PGID` for for GroupID - see below for explanation
* `-e PUID` for for UserID - see below for explanation
2015-05-10 15:11:50 +02:00
2015-06-26 13:28:58 +01:00
### User / Group Identifiers
2015-05-10 15:11:50 +02:00
2015-06-26 13:28:58 +01:00
**TL;DR** - The `PGID` and `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 `PUID` and `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
2015-05-10 15:11:50 +02:00
* Upgrade to the latest version of sonarr simply `docker restart sonarr`.
2015-06-26 13:28:58 +01:00
* Monitor the logs of the container in realtime `docker logs -f sonarr`.
2015-08-31 10:41:00 +02:00
## Changelog
2015-05-10 15:11:50 +02:00
2015-08-31 10:41:00 +02:00
+ **31.08.2015:** Cleanup, changed sources to fetch binarys from. also a new baseimage.