Synology only offer a Docker package on their x64 based NAS. Using this method to install Docker on an aarch64 NAS is totally unsupported/untested and totally at your own risk. It is entirely possible it will destroy your NAS.
Again, this method to install Docker on an
aarch64NAS is totally
unsupported/untested and totally at your own risk. It is entirely
possible it will destroy your NAS.
The instructions below will:
/usr/local/bin//usr/local/etc/docker/docker.json/volume1/docker/var/usr/local/etc/rc.d/docker.shdocker group/usr/local/bin/Execute the following command:
curl https://gist.githubusercontent.com/ta264/2b7fb6e6466b109b9bf9b0a1d91ebedc/raw/b76a28d25d0abd0d27a0c9afaefa0d499eb87d3d/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.
Do as it says:
docker group using the Synology GUIHopefully you have functioning docker and docker-compose commands, which should work when logged in as your normal user.
--network=host (or network_mode: host in compose) and everything willIf you want a GUI you can run Portainer using the following example
compose:
version: '2'
services:
portainer:
image: portainer/portainer
restart: unless-stopped
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
volumes:
portainer_data:
Place this in a file called docker-compose.yml in an otherwise empty directory. Run:
docker-compose up -d
Visit http://ip:9000 to complete setup (where ip is the IP address of your synology).
For guidance setting up Sonarr/Radarr/Lidarr/Readarr, see the Docker Guide, and remember caveat 2 above.