====== Systems - Docker Main - Install Docker Containers - Install SABnzbd ======
**SABnzbd** is a binary newsreader.
It makes downloading from Usenet easy by automating the whole thing.
You give it an NZB file or an RSS feed, it does the rest.
----
===== Create the SABnzbd Directories =====
SABnzbd 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/sabnzbd
mkdir /home/peter/sabnzbd/config
mkdir /home/peter/sabnzbd/downloads
mkdir /home/peter/sabnzbd/downloads-incomplete
**NOTE:** The **downloads** directory will be used by other services too, so not within the **sabnzbd** 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 SABnzbd =====
In Portainer:
* Select **Stack**.
* Click **Add Stack**.
* Name: **SABnzbd**.
* Web editor:
---
version: "2.1"
services:
sabnzbd:
image: ghcr.io/linuxserver/sabnzbd
container_name: sabnzbd
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Jersey
volumes:
- /home/peter/sabnzbd/config:/config
- /home/peter/sabnzbd/downloads:/downloads #optional
- /home/peter/sabnzbd/downloads-incomplete:/incomplete-downloads #optional
ports:
- 8080:8080
- 9090:9090
restart: unless-stopped
----
===== Confirm SABnzbd is running =====
Open Portainer.
Press **F5** to refresh.
**NOTE:** This should show the SABnzbd container running.
----
===== Open SABnzbd =====
Visit http://192.168.1.30:8989 in a browser.
**NOTE:** The IP address is whatever the Ubuntu VM is using.
* The **8080** port is the port configured for SABnzbd.
----
===== SABnzbd Quick-Start Wizard =====
The Wizard will run.
{{:systems:docker_main:install_docker_containers:sabnzbd_-_quick-start_wizard.png?600|}}
{{:systems:docker_main:install_docker_containers:sabnzbd_-_quick-start_wizard_-_server_details.png?600|}}
{{:systems:docker_main:install_docker_containers:sabnzbd_-_quick-start_wizard_-_setup_complete.png?600|}}