====== Systems - Docker Main - Install Docker Containers - Install NZBGet ====== **Nzbget** is a usenet downloader. ---- ===== Create the NZBget Directories ===== NZBget will store its configuration data in a directory on the Host VM. On the Ubuntu VM Host, create a directory for this config data. mkdir /home/peter/nzbget mkdir /home/peter/nzbget/config mkdir /home/peter/nzbget/downloads **NOTE:** The **downloads** directory will be used by other services too, so not within the **nzbget** directory. ---- ===== Determine the UID and GID ===== On the Ubuntu VM Host: id peter returns: uid=1000(peter) gid=1000(peter) groups=1000(peter)... **NOTE:** Take a note of the UID and GID numbers. * In this case 1000. ---- ===== Install NZBget ===== In Portainer: * Select **Stack**. * Click **Add Stack**. * Name: **NZBget**. * Web editor: --- version: "2.1" services: nzbget: image: ghcr.io/linuxserver/nzbget container_name: nzbget environment: - PUID=1000 - PGID=1000 - TZ=Europe/Jersey volumes: - /home/peter/nzbget/config:/config - /home/peter/nzbget/downloads:/downloads #optional ports: - 6789:6789 restart: unless-stopped **NOTE:** Change settings as required. * **/home/peter/nzbget/config**: This directory will need to be created on the host. * **/home/peter/nzbget/downloads**: This directory contains the downloads. * **PUID** and **GUID**: Set to the numbers determined earlier. * Port **6789**: Change as required. ---- ===== Confirm NZBget is running ===== Open Portainer. Press **F5** to refresh. **NOTE:** This should show the NZBget container running. ---- ===== Open NZBget ===== Visit http://192.168.1.30:6789 in a browser. **NOTE:** The IP address is whatever the Ubuntu VM is using. * The **6789** port is the port configured for NZBget. * It is suggested to set this URL in the web browser to be the default loading page. ---- ===== Setup NZBget ===== Configure as required. ---- ===== References ===== https://hub.docker.com/r/linuxserver/nzbget