Dockge is a fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager alternative to Portainer. With Dockge you can easily manage your compose.yaml files, providing a central point for all your Docker configuration needs. Includes options to create, edit, start, stop, restart, and delete Docker configurations, offering full lifecycle management of your Docker environments. In this step by step guide I will show you how to install Dockge on your Synology NAS using Docker.
Dockge v1.4.2 release.This guide works perfectly with the latest
Install Container Manager via Synology “Package Center”. If you run an older DSM version (under 7.2), search for Docker instead of Container Manager.
Go to File Station and open the docker folder. Inside the docker folder create a new folder and name it dockge. Follow the instructions in the images below.
Note: Be careful to use only lowercase, not uppercase letters.
Now create two new folders inside the dockge folder that you previously created at STEP 3 and name them data and stacks. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
In the stacks folder that you have previously created at STEP 4, create folders for every docker container that you have a compose.yaml file for. For example, I created a folder named Dozzle for the Dozzle container.
Then, in the dozzle folder, I uploaded the compose.yaml file that I provide at STEP 9 in my Dozzle article. Repeat this operation for every container that you have a compose.yaml file for. First create the folder, then upload the compose.yaml file in it. For every container, the file name should be called compose.yaml – Only the folder should have a different name. Example: For the Dozzle container, create a folder called dozzle and upload the compose.yaml file in it. For the Calibre container, create a folder called calibre and upload the compose.yaml file in it. And so on.
What is compose? With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration. Do this operation for every container that you have a compose.yaml file for.
Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the image below.
Once you click on User-defined script a new window will open. Follow the instructions below:
- General: In the Task field type in “Install Dockge“. Uncheck the “Enabled” option. Select root User.
- Schedule: Select Run on the following date then select “Do not repeat“.
- Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that click OK.
docker run -d --name=Dockge \ -p 5571:5001 \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /volume1/docker/dockge/stacks:/volume1/docker/dockge/stacks \ -v /volume1/docker/dockge/data:/app/data \ -e DOCKGE_STACKS_DIR=/volume1/docker/dockge/stacks \ --restart=always \ louislam/dockge:1
After you click OK on STEP 7 a new warning pop up window will open. Click OK.
After you click OK, type in your DSM Password then click Submit. Follow the instructions in the image below.
After you click Submit at STEP 8, select your “Install Dockge” Task then click the “Run” tab. You will be asked to run Install Dockge – click OK. Follow the instructions in the image below.
Go back to STEP 1 or you will deal with karma 🙂
The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:5571 Type in your details then click Create. Follow the instructions in the image below.
In the Dockge left sidebar you will see all your compose folders. For example, you can start the installation for Dozzle by clicking Start. First of all, in file station, you will need to create the dozzle folder following the same exact STEPs that you used in Portainer before deploying the Dozzle stack. Note: If you see different stacks on the left sidebar, the stacks that are marked “active”, but greyed out, will be the ones created outside Dockge. For example, the stacks created with Portainer. You can just switch to Dockge gradually in the future, if you want. Follow the instructions in the image below.
Once you click the Start button at STEP 12, your container installation will be deployed. Click the port to open it. Follow the instructions in the image below.
As you can see, you can now access Dozzle.
If you encounter issues by using this container, make sure to check out the Common Docker issues article.
Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update the Dockge container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.
This post was updated on Tuesday / January 23rd, 2024 at 7:38 PM