{"id":95676,"date":"2022-10-07T20:39:27","date_gmt":"2022-10-07T20:39:27","guid":{"rendered":"https:\/\/wordpress-870514-3011517.cloudwaysapps.com\/?p=95676"},"modified":"2023-02-17T08:29:32","modified_gmt":"2023-02-17T08:29:32","slug":"how-to-install-portainer-on-your-synology-nas-with-docker","status":"publish","type":"post","link":"https:\/\/mustafa.net\/2022\/10\/07\/how-to-install-portainer-on-your-synology-nas-with-docker\/","title":{"rendered":"How to Install Portainer on Your Synology NAS with Docker"},"content":{"rendered":"\n

Portainer<\/h2>\n\n\n\n

Portainer is an application that provides a web-based management interface that is simple and lightweight. Portainer can be used to perform functions on your Docker host.<\/p>\n\n\n\n

Code Source: Official GitHub<\/a><\/p>\n\n\n\n

Step 1<\/h2>\n\n\n\n

Before we start, please ensure you have Docker installed. This can be installed through the Synology Package Center<\/strong>.<\/p>\n\n\n\n

Step 2<\/h2>\n\n\n\n

We now need to create the Portainer Docker folder. Head into File Station<\/strong> and open the Docker folder<\/strong>. Select Create<\/strong>, choose Create folder<\/strong> and name it portainer<\/strong>.<\/p>\n\n\n\n

Step 3<\/h2>\n\n\n\n

We will now head into Control Panel<\/strong> > Task Scheduler<\/strong> > Create<\/strong> > Scheduled Task<\/strong> and click User-defined script<\/strong>. <\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Step 4<\/h2>\n\n\n\n

In the window that appears, insert the following:<\/p>\n\n\n\n

In the General<\/strong> tab, In the Task field, enter Portainer<\/strong>. <\/strong>From the User list, select root<\/strong>. Uncheck <\/strong>the Enabled option.<\/p>\n\n\n\n

In the Schedule<\/strong> tab, Select Run on the following date <\/strong>(make sure It\u2019s today\u2019s date).<\/strong> Now select Do not repeat<\/strong>.<\/p>\n\n\n\n

In the Task Settings<\/strong> tab, under Notification<\/strong>, You can choose to turn this on, otherwise skip this. Now copy-paste the following code into the Run command area<\/strong>. Now click OK<\/strong>.<\/p>\n\n\n\n

Copy to Run command areadocker run -d --name=portainer \\\n-p 8000:8000 \\\n-p 9000:9000 \\\n-v \/var\/run\/docker.sock:\/var\/run\/docker.sock \\\n-v \/volume1\/docker\/portainer:\/data \\\n--restart=always \\\nportainer\/portainer-ce<\/code><\/pre>\n\n\n\n

Step 5<\/h2>\n\n\n\n

When the below warning appears, press OK<\/strong>.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Step 6<\/h2>\n\n\n\n

You will now see your list of tasks. Select Portainer<\/strong>, now press. Run<\/strong>.<\/p>\n\n\n\n

Step 7<\/h2>\n\n\n\n

When asked to run, press Yes<\/strong>.<\/p>\n\n\n\n

Step 8<\/h2>\n\n\n\n

The installation process of Portainer has now finished. Give it a few seconds to appear in your Docker list.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Step 9<\/h2>\n\n\n\n

Open your browser, and enter the link to your new container http:\/\/synologyip:9000.<\/strong> From here, choose your admin username and password. Press Create user<\/strong>.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Step 10<\/h2>\n\n\n\n

Press Get Started<\/strong> \u2013 Proceed using the local environment in which Portainer is running in.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Step 11<\/h2>\n\n\n\n

Press the Pencil icon to the right-hand side as displayed below.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Step 12<\/h2>\n\n\n\n

Type your local NAS IP in the Public IP<\/strong> box. For me, this is 192.168.68.128. Now press Update environment<\/strong>.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Step 13<\/h2>\n\n\n\n

If this has been successful, you will see the message Environment updated local.<\/strong><\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Step 14<\/h2>\n\n\n\n

That\u2019s you finished, enjoy!<\/p>\n\n\n\n

\"\"<\/figure>\n","protected":false},"excerpt":{"rendered":"

Portainer Portainer is an application that provides a web-based management interface that is simple and lightweight. Portainer can be used to perform functions on your Docker host. Code Source: Official GitHub Step 1 Before we start, please ensure you have Docker installed. This can be installed through the Synology Package Center. Step 2 We now need to […]<\/p>\n","protected":false},"author":1,"featured_media":97946,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[501],"tags":[],"_links":{"self":[{"href":"https:\/\/mustafa.net\/wp-json\/wp\/v2\/posts\/95676"}],"collection":[{"href":"https:\/\/mustafa.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mustafa.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mustafa.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mustafa.net\/wp-json\/wp\/v2\/comments?post=95676"}],"version-history":[{"count":2,"href":"https:\/\/mustafa.net\/wp-json\/wp\/v2\/posts\/95676\/revisions"}],"predecessor-version":[{"id":146931,"href":"https:\/\/mustafa.net\/wp-json\/wp\/v2\/posts\/95676\/revisions\/146931"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mustafa.net\/wp-json\/wp\/v2\/media\/97946"}],"wp:attachment":[{"href":"https:\/\/mustafa.net\/wp-json\/wp\/v2\/media?parent=95676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mustafa.net\/wp-json\/wp\/v2\/categories?post=95676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mustafa.net\/wp-json\/wp\/v2\/tags?post=95676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}