Logitech Media Server
This is an image that makes it simple to serve up your
music collection with the Logitech Media Server, which
is also known as Slimserver and Squeezebox Server. Many people will
use Squeezelite as a client for it.
It runs on top
of my Debian base system,
which provides excellent logging capabilities.
This image provides the server, with full support for transcoding
on the fly.
You can download with:
docker pull jgoerzen/logitech-media-server
And run with something like this:
docker run -td \ -p 9000:9000 -p 9090:9090 -p 3483:3483 -p 3483:3483/udp -p 1900:1900/udp \ --stop-signal=SIGPWR \ -v /musicdir:/music:ro \ -v /playlistdir:/playlists:rw \ --name=lms jgoerzen/logitech-media-server
This will expose your music stored at
/musicdir on the host in read-only mode, and your playlists
/playlistdir in read-write mode, to the container. You will probably also
want to add a
-v in some fashion covering
/var/lib/squeezeboxserver/prefs, since that you will want
to preserve those files as well.
Now, connect to http://localhost:9000/ to configure the system.
During configuration, tell it your music is in
/music and set your playlist directory to
By default, this image exposes a HTTP server on port 80, HTTPS on port 443, and
also exposes port 81 in case you wish to use it separately for certbot or another
Letsencrypt validation system. HTTPS will require additional configuration.
This is prepared by John Goerzen firstname.lastname@example.org and the source
can be found at https://github.com/jgoerzen/docker-logitech-media-server
The Debian operating system is configured to automatically apply security patches.
Logitech Media Server, however, does not have such a feature, nor do most of the third-party
Perl modules it integrates.
Docker scripts, etc. are
Copyright (c) 2017 John Goerzen
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
Additional software copyrights as noted.