Synology: 30 Second Portainer Install Using Task Scheduler & Docker

Synology 30 Second Portainer Install Using Task Scheduler & Docker

Do you want to install Portainer via Docker without a terminal? Are you tired of complicated guides? Do you want something quick and easy? Well today I will teach you how to install Portainer 2.0 on your Synology NAS in less than 30 seconds directly through the Task Scheduler option. It’ll be over in a couple of seconds and it’s essentially child’s play.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

1 install docker synology dsm

  • STEP 3

Go to File Station and open the docker folder. Inside the docker folder, create a new folder and name it portainer. Follow the instructions in the images below.

1 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

2 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

  • STEP 4

Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the images below.

3 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

  • STEP 6

Once you click on User-defined script a new window will open. Follow the instructions below:

  1. General: In the Task field type in “Install Portainer“.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that click OK.
docker 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-ce

4 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

  • STEP 7

After you click OK on STEP 6, select your “Install Portainer” Task and uncheck then click Save. Follow the instructions in the image below.

5 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

  • STEP 8

After you click save on STEP 7, select your “Install Portainer” Task then click the “Run” tab. You will be asked to Install Portainer – click Yes. Follow the instructions in the image below.

6 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

  • STEP 9

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 10

Open your browser and type in http://Synology-ip-address:9000/ Follow the instructions in the image below. Choose an admin password, confirm the password then press Create user. Remember to uncheck “Allow collection of anonymous statistics.”

2 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

  • STEP 11

Select Local (Manage the local Docker environment) then press the Connect button. Follow the instructions in the image below.

8 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

  • STEP 12

Your Portainer administration page will look like this:

9 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

  • STEP 13

In the left sidebar, click on Endpoints then select local and click on it. Follow the instructions in the image below.

10 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

  • STEP 14

The local configuration will open. On the public IP area type your NAS local IP which, in my case, is 192.168.0.182 then click Update endpoint. Follow the instructions in the image below.

11 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

  • STEP 15

If everything goes right, you will see this message at the top right of your screen: “Endpoint updated local”.

12 30 Second Portainer Install Using Task Scheduler Docker Synology NAS

Note: Find out how to update Portainer container with the latest image.
Note: Can I run Docker on my Synology NAS? See the supported models.

Portainer is a lightweight management UI which allows you to easily manage your Docker host or Swarm cluster. Portainer is meant to be as simple to deploy as it is to use. It consists of a single container that can run on any Docker engine (Docker for Linux, Docker for Synology DSM and Docker for Windows are all supported). Portainer allows you to manage your Docker stacks, containers, images, volumes, networks and more! It is compatible with the standalone Docker engine and with Docker Swarm. This guide works perfectly for the latest Portainer 2.0 CE release.

This post was updated on Tuesday / September 15th, 2020 at 11:42 PM