CLI:
docker run --rm \
--name nzbget \
-p 6789:6789 \
-e PUID=1000 \
-e PGID=1000 \
-e UMASK=002 \
-e TZ="Etc/UTC" \
-e ARGS="" \
-e DEBUG="no" \
-v /<host_folder_config>:/config \
hotio/nzbget
Compose:
version: "3.7"
services:
nzbget:
container_name: nzbget
image: hotio/nzbget
ports:
- "6789:6789"
environment:
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=Etc/UTC
- ARGS
- DEBUG=no
volumes:
- /<host_folder_config>:/config
In most cases you'll need to add additional volumes, depending on your own personal preference, to get access to your files.
Tag | Upstream | Version | Build |
---|---|---|---|
release (latest) |
GitHub releases | ||
testing |
GitHub pre-releases |
You can also find tags that reference a commit or version number.
Your nzbget configuration inside the container is stored in /config/app
, to migrate from another container, you'd probably have to move your files from /config
to /config/app
.
If you have a need to do additional stuff when the container starts or stops, you can mount your script with the volume /docker/host/my-script.sh:/etc/cont-init.d/99-my-script
to execute your script on container start or /docker/host/my-script.sh:/etc/cont-finish.d/99-my-script
to execute it when the container stops. An example script can be seen below.
#!/usr/bin/with-contenv bash
echo "Hello, this is me, your script."
By default all output is redirected to /dev/null
, so you won't see anything from the application when using docker logs
. Most applications write everything to a log file too. If you do want to see this output with docker logs
, you can set DEBUG
to yes
.