Portainer Edge Agent
For Synolgy NAS you have to change the volume. See below.
On line three of the command you have to change the volume to match that of Synology.
-v /var/lib/docker/volumes:/var/lib/docker/volumes \
Change that line to
-v /volume1/@docker/volumes:/var/lib/docker/volumes \
Then run the command and viola! You can now connect to your Synology NAS through portainer using the Edge Agent!