Portainer Synology NAS Docker

In Synology by rhodzyLeave a Comment

If like me you wanted to install Portainer to manage your docker environment from where ever you are, using a synology NAS. Make sure you do the below.

You first need to edit the dockerd.json file to allow access. The below is what my config file, basically you are just adding in:

“hosts” : [ “tcp://localhost:2375”, “unix:///var/run/docker.sock” ],

Edit: /var/packages/Docker/etc/dockerd.json 

Should look like this:

{
“hosts” : [ “tcp://localhost:2375”, “unix:///var/run/docker.sock” ],
“registry-mirrors” : [] }

Restart Docker:

synoservice –restart pkgctl-Docker

 

Wait for everything to load back up and you should be good to go to connect Portainer to your docker install running on a Synology NAS. Make sure you add the URL endpoint as:

localhost:2375

Also remember not to open this up on your firewall as some people could play around with your environment.