Skip to content

nkoziel/NAS-Synology

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAS-Synology DS218 - Run docker / Portainer / PIHOLE Server

Tested on my DS218.

Pain point I try to solve

NAS Synology DS218 is using a aarch64 architecture that doesnt support official docker synology package. Trying to bypass that by install aarch64 docker binaries using direct ssh connection to the NAS.

Most of the data is coming from https://gist.github.com/ta264 and https://wiki.servarr.com/docker-arm-synology I did my own repo to handle versionning and review the code/script myself.

To help understand what is done you can also read this : https://dev.to/behainguyen/synology-ds218-unsupported-docker-installation-and-usage-2g1n

Activate ssh on your NAS and get root

  1. On your DSM interface go to the parameters / Terminal & SNMP
  2. Check activate ssh access box

image

  1. Open a powershell terminal and run this commands:

ssh user@yourNasIP -p 22

type yes

type your password

to get root :

sudo -i

Expected outcome :

image

Installation of docker and configuration

curl https://raw.githubusercontent.com/nkoziel/NAS-Synology/main/get-docker.sh | sh

If all goes well you should see the message:

Done. Please add your user to the Docker group in the Synology GUI and reboot your NAS.

Add your user to docker group in DSM interface

image

Reboot your NAS

Build a portainer container

cd /volume1/@docker/portainer
docker-compose up -d

Expected outcome :

image

Then go to the portainer homepage to configure it :

in your browser : youNasIP:9000

Setup your admin account

Portainer is now working and should ask to setup the admin password:

image

Now if you want to build pihole image and start a container:

cd /volume1/@docker/portainer
docker-compose up -d

expected outcome :

image

You can now access your pihole homepage using YourNasIP:8888/admin url

About

How to install docker, portainer and pihole on synology DS218 / aarch64

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages