This is a quick walkthrough of setting up the Kometa Docker container in the Synology UI.
This walkthrough discusses **only** the steps required to set up a Kometa container on a Synology NAS. It does not cover creating a config file for Kometa.
There are two walkthroughs for getting familiar with Kometa:
1. [Local Python script](./local.md)
2. [Docker container](./docker.md)
You should go through one of those prior to doing this container setup, as they will familiarize you with the tool and how it works, and will produce the `config.yml` you will need to use with this process.
=== "DiskStation Manager v. 7.2"
## Container Manager
1. Open the Package Center app from the Synology Web GUI.
![Prerequisite 1](images/dsm72-01.png)
2. Type `docker` in the search bar and once it comes up, click "Install" next to Container Manager if it isn't already installed. Then click "Open" to bring up the Container Manager.
![Prerequisite 2](images/dsm72-02.png)
3. Click "Open" to bring up the Container Manager.
![Prerequisite 2](images/dsm72-03.png)
## Creating the Kometa container
1. Click the registry tab, type "Kometa" in the search bar, and select the `kometateam/kometa` image.
![Step 1](images/dsm72-04.png)
2. When you click the image, a popup will appear where you can choose the tag [version of the image] you want to use. Most likely, this is `latest`. If you need to use one of these other tags, you would choose it here. Once you choose a tag, click 'Apply'.
![Step 1](images/dsm72-05.png)
3. The image will be downloaded, which shouldn't take long.
![Step 1](images/dsm72-06.png)
3. Once the download completes, click on the "Container" tab. Click "create" to create a new container.
![Step 1](images/dsm72-07.png)
4. This will bring up the container creation wizard.
![Step 1](images/dsm72-08.png)
5. Click the top UI element and choose the image you downloaded.
![Step 1](images/dsm72-09.png)
6. Enter a name, and check the "auto-start" box.
![Step 1](images/dsm72-10.png)
NOTE: The name you enter here is the name of the container, not the name of the image. You can name it whatever you want.
IMPORTANT: If you are creating an image that you will be configuring to run immediately, you should NOT check the "auto-start" box. That will cause the container to loop endlessly. If you don't know what this means yet, check the box.
Click Next.
7. On this screen, you'll create the one volume map that Kometa requires.
![Step 1](images/dsm72-11.png)
Click "Add Folder" under "Volume Settings".
8. Click "docker".
![Step 1](images/dsm72-12.png)
9. Click "Create Folder" and enter a name.
![Step 1](images/dsm72-13.png)
Click "OK".
10. Make sure the folder you just created is selected, and click "Select".
![Step 1](images/dsm72-14.png)
11. Enter `/config` in the box in the middle of the pane. Enter *exactly that*, no more, no less.
![Step 1](images/dsm72-15.png)
12. There is one setting here that you *may* need to change, and only you know if you do. Scroll down to the network settings. Depending on where Plex is running, you may need to change this from "bridge" to "host". If you don't know what this means, you probably don't need to change it.
![Step 1](images/dsm72-16.png)
Click "Next".
13. You're presented with a summary of the things you've done so far. Click "Done"
![Step 1](images/dsm72-17.png)
14. You will probably be presented with a bunch of errors; these are expected. Kometa cannot find the config file it needs, so it will fail to start. The auto-start setting you checked earlier is making it try over and over. This is normal.
![Step 1](images/dsm72-18.png)
15. If you click on the container, then on the log tab, you will see this specific error.
![Step 1](images/dsm72-19.png)
## Adding the Kometa config file.
This is where you need the `config.yml` that you created with the walkthrough earlier.
1. Open File Station. In the sidebar, expand the "docker" item and click on the folder you created earlier.
![Step 1](images/dsm72-20.png)
2. At the top of hte window, click "Upload" and choose "Upload -> Overwrite".
![Step 1](images/dsm72-21.png)
3. Navigate to the `config.yml` file you created earlier and click "Upload". The file will appear in the list.
![Step 1](images/dsm72-22.png)
4. You will note that the errors have stopped. If you go back to Container Manager, you will see that the container is running.
![Step 1](images/dsm72-23.png)
At this point, Kometa is waiting until 5AM to wake up and process the config file.
=== "Some unidentified older version"
## Prerequisite: Installing Docker
1. Open the Package Center app from the Synology Web GUI.