====== Systems - Docker Main - Install Docker Containers - Install Jackett ======
**Jackett** works as a proxy server.
* It translates queries from apps (Sonarr, SickRage, CouchPotato, Mylar, etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software.
* This allows for getting recent uploads (like RSS) and performing searches.
* Jackett is a single repository of maintained indexer scraping & translation logic - removing the burden from other apps.
----
===== Create the Jackett Directories =====
Jackett 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/jackett
mkdir /home/peter/jackett/config
mkdir /home/peter/jackett/downloads
**NOTE:** The **downloads** directory will be used by other services too, so not within the **jackett** 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 Jackett =====
In Portainer:
* Select **Stack**.
* Click **Add Stack**.
* Name: **Jackett**.
* Web editor:
---
version: "2.1"
services:
jackett:
image: ghcr.io/linuxserver/jackett
container_name: jackett
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Jersey
- AUTO_UPDATE=true #optional
# - RUN_OPTS= #optional
volumes:
- /home/peter/jackett/config:/config
- /home/peter/jackett/downloads:/downloads
ports:
- 9117:9117
restart: unless-stopped
**NOTE:** Change settings as required.
* **/home/peter/jackett/config**: This directory will need to be created on the host.
* **/home/peter/jackett/downloads**: This directory contains the downloads.
* **PUID** and **GUID**: Set to the numbers determined earlier.
* Port **9117**: Change as required.
----
===== Confirm Jackett is running =====
Open Portainer.
Press **F5** to refresh.
**NOTE:** This should show the Jackett container running.
----
===== Open Jackett =====
Visit http://192.168.1.30:9117 in a browser.
**NOTE:** The IP address is whatever the Ubuntu VM is using.
* The **9117** port is the port configured for Jackett.
* It is suggested to set this URL in the web browser to be the default loading page.
----
===== Setup Jackett =====
Configure as required.
----
===== References =====
https://hub.docker.com/r/linuxserver/jackett