-
Notifications
You must be signed in to change notification settings - Fork 1
HOWTO Synology DSM7 Portainer
Mikaël ANDRE edited this page Oct 31, 2022
·
4 revisions
This how-to aims to install Portainer on Synology NAS
First of all, you need to create a folder under docker shared folder
- To do it, go to File Station > docker > Click on Create button > Click on Create folder button
- Name folder:
portainer
- The name of volume where my folders are created is
Volume1
. It's required to have this information.
- Name folder:
Once portainer folder is created, you need to install portainer using CLI command
- To do it, access to your NAS with SSH access
- On Terminal window, type the following command
-
docker run -d -p 8000:8000 -p 9443:9443 --restart=unless-stopped --name="portainer" -v /var/run/docker.sock:/var/run/docker.sock -v /volume1/docker/portainer:/data portainer/portainer-ee:latest
-
docker
: use docker binary -
run
: The docker run command first creates a writeable container layer over the specified image, and then starts it using the specified command -
-d
: Run container in background and print container ID -
-p 8000:8000
: It exposes 8000 TCP port. It is optional and is only required if you plan to use the Edge compute features with Edge agents -
-p 9443:9443
: Portainer Server will expose the UI over port 9443 -
--restart=unless-stopped
: -
--name="portainer"
: Name the container,portainer
-
-v /var/run/docker.sock:/var/run/docker.sock
: Portainer needs to get access on Docker Socket. -
-v /volume1/docker/portainer:/data
: In order to have persistant data, I mount portainer folder in Portainer container. As I said previously, my volume isVolume1
. You need to adapt this. -
portainer/portainer-ee:latest
: Because I want to have all features, I use Business Edition. It's free up to 5 Docker instance. You can go to here to get license key: https://www.portainer.io/take-5
-
- Portainer is now installed. Let's go to GUI!
-
- On Terminal window, type the following command
In order to access to your Portainer, you need to go to the following URL with your favourite navigator:
- https://<fqdn_of_your_synology_or_ip-address>:9443
- You're prompted to defined administrator password
- After password definition, you need to enter license key and click on Submit button
Please refer to the official documentation to use Portainer > https://docs.portainer.io