11/24/2021»»Wednesday

Synology Docker Apps

A lightweight software containerization solution powered by Docker Inc. By leveraging this cutting-edge technology, Synology delivers even more packages for seamless deployment on your NAS, such as Redmine or GitLab.

Synology Docker Apps Free

NOTE- This next section had a bunch of stuff about installing Synology Community sources and an app called GateOne. I thought it was useful for people who hate the command line. But soon after this article went live, the Synology Community website went down. Docker is sweeping across startups and enterprises alike, changing the way we build and ship applications. It’s the most prominent and widely known software container platform, and it’s particularly useful for eliminating common challenges when collaborating on code (like the “it works on my machine” phenomenon that most devs know all too well). Docker is a lightweight virtualization application that gives you the ability to run thousands of containers created by developers from all over the world on DSM. The hugely popular built-in image repository, Docker Hub, allows you to find shared applications from other talented developers.

More possibilities in DSM

This should work on all DS's with M.2 slots and from what I understand, Synology does not natively let us do this because of SSD drive temperature. My drives have not gone over 99F yet. Goal: Setup a RAID 1 array using 2x 500GB NVMe's in the M.2 slots for storing Docker and VM's.

Docker is a lightweight virtualization application that gives you the ability to run thousands of containers created by developers from all over the world on DSM. The hugely popular built-in image repository, Docker Hub, allows you to find shared applications from other talented developers.

Flexible container deployment

Deploy Docker containers at will and facilitate the maximum utilization of your Synology NAS.

Container import / export

Support for container import / export makes backup and transfer of containers simple and easy.

Docker® Hub Registry

The built-in Docker® Hub Registry enables you to directly search for thousands of applications from developers around the world.

At-a-glance resource monitoring

The overview provides a clear dashboard including the NAS CPU, memory and individual container resource usage.

On many occasions I found myself in the situation where I had to deploy quickly a web application and demo it a customer or product owner. Deployment these days with cloud services such as Microsoft Azure is really easy but still requires a little bit of time for initial setup (web app and database).

I figure that deploying it to docker container hosted on my office network is much faster solution.

Here is how it's done:

As a reference I'm using my company's domain isready.io - replace it with your own.

1. Setup docker registry container on your Synology

Docker

2. Setup SSL Certificate from Let's Encrypt

3. Setup Reverse Proxy

4. Test docker registry endpoint

5. Build docker image and push to the registry

In this example I'm building Blazor Web Assembly App on Windows 10 It might be obvious but make sure Docker Desktop is installed and running.

Build docker image:

docker build -t gp-web -f Dockerfile .

Tag it

SynologySynology Docker Apps

docker tag gp-web:latest dockerhub.isready.io/gp-web

Push to docker registry

docker push dockerhub.isready.io/gp-web:latest

Synology

Your image should be visible here

https://dockerhub.isready.io/v2/_catalog

Synology Docker Apps Windows 10

6. Configure your private registry in Synology Docker

You should see your image and be able to install it.

Most Viewed Posts