Skip to main content

Portainer Edge Agent

Assuming you have Docker installed on your Synology NAS, you may run the Edge Agent to connect it to Portainer on another host!

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!

Do not run the below command. You have to get it from your Portainer dahboard!

The command will look similar to this.

docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /volume1/@docker/volumes:/var/lib/docker/volumes \
-v /:/host \
-v portainer_agent_data:/data \
--restart always \
-e EDGE=1 \
--name portainer_edge_agent \

See the video instructions below.