This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| syno:docker [2021/06/12 23:19] – [Icon on DSM Desktop] Bernard Condrau | syno:docker [2025/10/21 13:22] (current) – removed Bernard Condrau | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Docker on Synology DSM ====== | ||
| - | ===== Logitech Media Server ===== | ||
| - | I installed Docker after Synology discontinued support for the Logitech Media Server (LMS). Synology supports Docker on Intel based NAS only, so you cannot resort to this solution on DS212+ and DS213+. To continue to use LMS on those platforms you must not upgrade to DSM7, and you must not upgrade Perl v5.24 to a newer version. If you do, the Logitech Media Server package will not start anymore. Remember to disable // | ||
| - | \\ | ||
| - | The following guide explains how to install Docker and the latest Synology Media Server. | ||
| - | ==== Installation ==== | ||
| - | - Install Docker from the DSM Package Center | ||
| - | - Open Docker, select // | ||
| - | - Choose // lmscommunity/ | ||
| - | - SSH into your DSM and create folder //lsm// in / | ||
| - | - Create the container from the command line< | ||
| - | sudo docker run \ | ||
| - | --name logitech-media-server \ | ||
| - | --restart=unless-stopped \ | ||
| - | --net=host \ | ||
| - | -v "/ | ||
| - | -v "/ | ||
| - | -v "/ | ||
| - | -v "/ | ||
| - | -e TZ=Asia/ | ||
| - | -e HTTP_PORT=9002 \ | ||
| - | -e PGID=100 \ | ||
| - | -e PUID=1026 \ | ||
| - | lmscommunity/ | ||
| - | - Synology DSM uses ACL for permission management, which is not transferred to the container when the container is set up. To allow the user // | ||
| - | chmod -R u+rws,g+rws /music | ||
| - | chmod -R u+rws,g+rws /playlist | ||
| - | exit</ | ||
| - | - Go back to DSM and stop the container " | ||
| - | * Under //General Settings//, select //Enable auto-restart// | ||
| - | * Under //General Settings//, select //Create shortcut on desktop// --> //Web page: http://< | ||
| - | * Under //Volume//, select the /music path to mount as // | ||
| - | * Check your settings under // | ||
| - | - Start the container | ||
| - | ==== Settings of Logitech Media Server ==== | ||
| - | - After the container is running Logitech Media Server will start scanning your music library. Check the logs as explained in //Trouble shooting// below if the library remains empty after the scan, or if not all folders are scanned into the library. | ||
| - | - Enter "/ | ||
| - | - Modify time and date settings under // | ||
| - | |||
| - | ==== Icon on DSM Desktop ==== | ||
| - | To get the user experience even closer to the original LSM app you can manually install a small package which shows in DSM with the original LSM icon and opens LSM on click. I made the {{ : | ||
| - | |||
| - | ==== Trouble shooting ==== | ||
| - | * Check the logs in / | ||
| - | * If you experience any trouble it might be helpful explore the file system within the container. Use the container name given when creating the container< | ||
| - | sudo docker exec -t -i logitech-media-server / | ||
| - | * Check that user // | ||
| - | |||
| - | ==== Links ==== | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||