Announcement

Collapse
No announcement yet.

'Official' docker container for LMS?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    In the light of the LMS 8.0.0 release: what is the preferred way of working with the official docker image in the opinion of the members here?
    I am sort of an 'oldskool guy' which prefer a separate stable (aka 8.0.x) and developent (8.x) branch available, but I understand this impacts available resources of people.
    Living Room: RPI2+HifiBerry DAC+ Pro & piCorePlayer
    Attic: RPI2+HifiBerry DAC+ RCA & piCorePlayer
    Other rooms: 6x SB Radio
    LMS: Version 8.3.0 on Xubuntu 22.04LTS

    Comment


      'Official' docker container for LMS?

      > I am sort of an 'oldskool guy' which prefer a separate stable (aka
      > 8.0.x) and developent (8.x) branch available, but I understand this
      > impacts available resources of people.


      There are tags for "latest" (8.0.1 nightly) or "stable" (8.0.0) available:




      --

      Michael
      Michael

      "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
      (LMS: Settings/Information)

      Comment


        Originally posted by mherger View Post
        > I am sort of an 'oldskool guy' which prefer a separate stable (aka
        > 8.0.x) and developent (8.x) branch available, but I understand this
        > impacts available resources of people.


        There are tags for "latest" (8.0.1 nightly) or "stable" (8.0.0) available:




        --

        Michael
        Great! Question answered ;-)
        Living Room: RPI2+HifiBerry DAC+ Pro & piCorePlayer
        Attic: RPI2+HifiBerry DAC+ RCA & piCorePlayer
        Other rooms: 6x SB Radio
        LMS: Version 8.3.0 on Xubuntu 22.04LTS

        Comment


          Source of Docker Image?

          HI,

          Is there somewhere I can find the source code of the Docker image? There's no link to a github repository or similar on docker hub.

          I'd like to see/edit some of the file like "start-container.sh". i know I can just run the image and look at the files in the container, but it makes it easier to customize if there's a github repository to clone.

          Thanks.

          Comment


            Shairtunes2

            Hi,

            Has anyone gotten Shairtune2 to work when running the LMS docker image? If you managed to get it working so that your devices connected to LMS is visible using Airplay, then please let me know how you did it.
            So far I can only get it working by setting "--net host" in the docker run command, and then creating Iptables rules to allow all ports to go to the host IP, which is not ideal.

            Thanks.

            Comment


              'Official' docker container for LMS?

              > Is there somewhere I can find the source code of the Docker image?



              > There's no link to a github repository or similar on docker hub.


              Thanks for the reminder! Will try to add it.

              --

              Michael
              Michael

              "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
              (LMS: Settings/Information)

              Comment


                Originally posted by migselv View Post
                Hi,

                Has anyone gotten Shairtune2 to work when running the LMS docker image? If you managed to get it working so that your devices connected to LMS is visible using Airplay, then please let me know how you did it.
                So far I can only get it working by setting "--net host" in the docker run command, and then creating Iptables rules to allow all ports to go to the host IP, which is not ideal.

                Thanks.
                Finally I've decided to let user set ports. I'll release that soon
                LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                Comment


                  Just noticed this thread, I've tried the container on Open Media Vault (OMV) on a HP elitedesk sff through portainer using stacks. I couldn't connect to it. I am going to try some more. But for a while I've been using dlandon/logitechmediaserver for my server needs and it works really well.

                  I'll give the community version another go tomorrow and see if I can get it running.

                  Comment


                    Hi Michael,

                    Just have discovered your docker image and in light of Synology DSM7 compatibility issue with pinkdot package I was going for a test run before I spend any money on RPi..

                    I've immediately hit a wall with adding (mounting) more then one (different) shared folder to /music..
                    I have few shared folders I would like to use as "Music folders" but I can only mount one of them as "music" in Synology docker ( I assume in any docker?)
                    Is it somehow possible? thanks
                    3x Squeezebox Touch, 4x Squeezebox Radio, Squeezelite (RPi 3B with HiFiBerry DAC+Pro on OSMC), Material Skin Apk, Squeeze Commander, Logitech Media Server Version: 8.2.0 with Material Skin (Docker in DS218+)

                    Comment


                      'Official' docker container for LMS?

                      > I've immediately hit a wall with adding (mounting) more then one
                      > (different) shared folder to /music..
                      > I have few shared folders I would like to use as "Music folders" but I
                      > can only mount one of them as "music" in Synology docker ( I assume in
                      > any docker?)
                      > Is it somehow possible? thanks


                      Not with the default Docker image. You'd either have to build your own,
                      or try the good, old symlink trick (don't know whether this works!):
                      create a music folder on the NAS, symlink your various actual music
                      folders in there, then map it as the music folder to the Docker
                      container. LMS would only see one single folder, with the various linked
                      folders in there. Hopefully. Make sure permissions allow browsing the
                      links from where you created the folder.

                      --

                      Michael
                      Michael

                      "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                      (LMS: Settings/Information)

                      Comment


                        Also, you could probably do something like:

                        Code:
                            -v "/local/music/dir/1":"/music/dir1":ro \
                            -v "/local/music/dir/2":"/music/dir2":ro \
                            -v "/local/music/dir/3":"/music/dir3":ro
                        couldn't you?

                        Andy

                        Comment


                          Originally posted by adhawkins View Post
                          Also, you could probably do something like:

                          Code:
                              -v "/local/music/dir/1":"/music/dir1":ro \
                              -v "/local/music/dir/2":"/music/dir2":ro \
                              -v "/local/music/dir/3":"/music/dir3":ro
                          couldn't you?

                          Andy
                          Thank you guys!

                          Andy your suggestion unfortunately didn't work, only "/music/dir1" is mounted where others seems to be ignored. btw I'm using synology visual docker "wizard" rather then code, but I doubt that makes any difference.

                          I will try Michael's suggestion with symlink trick .. but slightly concerned that would mess up library views based on paths.. hmm maybe not.
                          THanks!
                          3x Squeezebox Touch, 4x Squeezebox Radio, Squeezelite (RPi 3B with HiFiBerry DAC+Pro on OSMC), Material Skin Apk, Squeeze Commander, Logitech Media Server Version: 8.2.0 with Material Skin (Docker in DS218+)

                          Comment


                            Originally posted by mherger View Post
                            > I've immediately hit a wall with adding (mounting) more then one
                            > (different) shared folder to /music..
                            > I have few shared folders I would like to use as "Music folders" but I
                            > can only mount one of them as "music" in Synology docker ( I assume in
                            > any docker?)
                            > Is it somehow possible? thanks


                            Not with the default Docker image. You'd either have to build your own,
                            or try the good, old symlink trick (don't know whether this works!):
                            create a music folder on the NAS, symlink your various actual music
                            folders in there, then map it as the music folder to the Docker
                            container. LMS would only see one single folder, with the various linked
                            folders in there. Hopefully. Make sure permissions allow browsing the
                            links from where you created the folder.

                            --

                            Michael
                            Thanks again Michael!

                            Symlink trick worked and generally whole docker LMS works great..

                            Am I right assuming that in order to update I can simply download latest image and point it to same config folder as current version? then just turn old container off and turn latest on?
                            3x Squeezebox Touch, 4x Squeezebox Radio, Squeezelite (RPi 3B with HiFiBerry DAC+Pro on OSMC), Material Skin Apk, Squeeze Commander, Logitech Media Server Version: 8.2.0 with Material Skin (Docker in DS218+)

                            Comment


                              'Official' docker container for LMS?

                              > Symlink trick worked and generally whole docker LMS works great..

                              Great, good to know!

                              > Am I right assuming that in order to update I can simply download latest
                              > image and point it to same config folder as current version? then just
                              > turn old container off and turn latest on?


                              Yes, that's the idea.

                              --

                              Michael
                              Michael

                              "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                              (LMS: Settings/Information)

                              Comment


                                Originally posted by mherger View Post
                                Ok, it's done: an "official" Docker image now is available on Docker hub:


                                Just dropping in to say very very many thanks for this and I'll be running this when I next have a moment to pause my life.

                                Comment

                                Working...
                                X