Tested on my DS218.
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
- On your DSM interface go to the parameters / Terminal & SNMP
- Check activate ssh access box
- 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 :
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.
Reboot your NAS
cd /volume1/@docker/portainer
docker-compose up -d
Expected outcome :
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:
Now if you want to build pihole image and start a container:
cd /volume1/@docker/portainer
docker-compose up -d
expected outcome :
You can now access your pihole homepage using YourNasIP:8888/admin
url