banner
herman

herman

哈哈哈哈哈哈哈哈哈哈哈哈哈哈

Managing multiple Synology Docker instances with Portainer

A white Synology has deployed Portainer to manage Docker, but the same is required for a black Synology. Since Synology must use its own signed certificate, the following settings can be used to enable Portainer to manage multiple Synology Docker instances.

1. Set up the Docker to be managed on the NAS

Open Container Station and go to Preferences > Certificates. Download the certificate file, which will be named cert.zip, and upload it to the container folder for later use.

2. Execute the following commands via SSH, one by one

mkdir -pv ~/.docker

unzip /share/Container/cert.zip -d ~/.docker

Make sure you have permission to execute the commands. If not, open the advanced file sharing permissions in the shared folder. Alternatively, you can manually extract the files and drag them into the .docker folder.

3. Open "Preferences > Certificates" in order to obtain the LAN IP address and port number for the environment variables.

4. Add the Docker to be managed in Portainer

Go to "Environments" and click "Add Environment".

Choose "Docker Standalone".

Select the API.

Enable TLS.

Add the corresponding certificate file.

Click "Connect" to finish.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.