@@ -6,13 +6,45 @@ pagination_next: install/configuration
66description : Install Unpackerr using Docker!
77---
88
9+ import ConfigFile from './includes/dockerconfigfile.md';
10+ import DataMount from './includes/dockerdatamount.md';
11+
912# Docker Installation
1013
14+ If you're using Docker Compose, this page may still contain valuable information for you. Please read it.
15+
16+ ## Availability
17+
18+ Images are available on DockerHub and GHCR.
19+
20+ ### DockerHub
21+
22+ GoLift software has a [ Docker Open Source Sponsorship] ( https://docs.docker.com/trusted-content/dsos-program/ ) .
23+ That means there are ** no pull limits for any [ ` golift/* ` image on Docker Hub] ( https://hub.docker.com/u/golift ) .**
24+ Even if you're not logged in.
25+
1126This project builds automatically in [ Docker Cloud] ( https://hub.docker.com/r/golift/unpackerr ) and creates
1227[ ready-to-use multi-architecture images] ( https://hub.docker.com/r/golift/unpackerr/tags ) images.
1328The ` latest ` tag is always a [ tagged release on GitHub] ( https://github.com/Unpackerr/unpackerr/releases ) .
1429
15- ## Docker Example
30+ - Pull the DockerHub image with this command:
31+ ``` shell
32+ docker pull golift/unpackerr:latest
33+ ```
34+
35+ ### GHCR
36+
37+ GitHub Actions also builds a Docker image and stores it in the
38+ [ GitHub container registry] ( https://github.com/Unpackerr/unpackerr/pkgs/container/unpackerr ) .
39+ This image is effectively identical to the DockerHub version; use whichever you prefer.
40+ The ` latest ` tag is always a [ tagged release on GitHub] ( https://github.com/Unpackerr/unpackerr/releases ) .
41+
42+ - Pull the GHCR image with this command:
43+ ```
44+ docker pull ghcr.io/unpackerr/unpackerr:latest
45+ ```
46+
47+ ## Example
1648
1749``` shell
1850docker pull golift/unpackerr
@@ -22,31 +54,20 @@ docker run -d -v /mnt/HostDownloads:/downloads \
2254docker logs < container id from docker run>
2355```
2456
25- :::warning Data Mount
26- The ` /data ` or ` /downloads ` mount you use for Starr apps should be set the same for Unpackerr.
27- Using the same mount path keeps consistency and makes troubleshooting Unpackerr easier.
28- Most importantly, it allows Unpackerr to find your files.
29-
30- This means that if you mount ` /mnt/storage/downloads:/downloads ` on your Starr apps you should
31- also mount ` /mnt/storage/downloads:/downloads ` on your Unpackerr container. If you mount
32- ` /mnt/user/data:/data ` on your Starr apps, mount the same path on Unpackerr.
33- ** Make sure Unpackerr can find the downloads in the same place that Sonarr and Radarr find them.**
34- :::
57+ ## Config File Example
3558
36- ## Example with config file
37-
38- - Copy the [ example config file] ( https://github.com/Unpackerr/unpackerr/blob/main/examples/unpackerr.conf.example )
39- from the repo, or [ generate one] ( https://notifiarr.com/unpackerr ) .
40- - Then grab the image from docker hub and run it using an overlay for the config file's directory.
41- - The config file must be at ` /config/unpackerr.conf ` .
42- - Recommend bind-mounting ` /config ` as an app-data directory. Example Follows.
59+ <ConfigFile />
4360
4461``` shell
4562docker pull golift/unpackerr
4663docker run -d -v /mnt/HostDownloads:/downloads -v /folder/with/config/file:/config golift/unpackerr
4764docker logs < container id from docker run>
4865```
4966
67+ ## Data Mount
68+
69+ <DataMount />
70+
5071## More Dockers
5172
5273If you want a container that has a bit more to it, you can try a third party option.
@@ -90,10 +111,10 @@ docker run -e PUID=1000 -e PGID=100 -d -v /mnt/data:/data -v /mnt/config:/config
90111Watching folders in Docker will cause Unpackerr to constantly poll the
91112watched-folder for changes at a default rate of ` 1s ` (1 second).
92113
93- The Folder Watch feature uses ` inotify ` (a.k.a. ` fsnotify ` ) to identify
94- changes to the watched folder. A folder-poller is automatically started when
95- run in Docker because ` inotify ` is unreliable. Disable the folder poller
96- (and rely on ` inotify ` only) by setting ` folders.interval ` to ` 1ms ` .
114+ The Folder Watch feature uses ` inotify ` (a.k.a. ` fsnotify ` ) to identify changes to the
115+ watched folder. A folder-poller is automatically started when run in Docker because
116+ ` inotify ` is unreliable. Disable the folder poller (and rely on ` inotify ` only) by
117+ setting ` folders.interval ` ( ` UN_FOLDERS_INTERVAL ` ) to ` 1ms ` .
97118
98119If Unpackerr has trouble determining when downloads are finished, set
99120` start_delay ` high enough to avoid beginning extracting files that are
0 commit comments