This site runs best with JavaScript enabled.

Running Portainer on Synology

Portainer offers more features and control over docker containers. Here are two simple steps to get it up and running on your Synology NAS

For whatever reason, using the docker UI in Synology to set up Portainer was not working for me. It would run, but it wouldn't connect to my endpoint. Finally I found that if I ran the docker command from the CLI it would work.

So, to get Portainer running, log in via SSH to your Synology and sudo to su.

1sudo su -

Then run the following docker command:

1docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /volume1/docker/portainer:/data portainer/portainer:latest

Updating the image also a problem. If you use the UI it will have the same issue of not connecting to the endpoint. So it is better to just delete the container and run through the steps above again if you want to update.

Discuss on TwitterEdit post on GitHub

Share article
Dustin Davis

Dustin Davis is a software engineer, people manager, hacker, and entreprenuer. He loves to develop systems and automation. He lives with his wife and five kids in Utah.

Join the Newsletter

Dustin Davis