scootsoftware/mpd

By scootsoftware

Updated about 2 years ago

Music Player Daemon image for Docker tracking latest Ubuntu rolling packages

Image
Networking
0

351

scootsoftware/mpd repository overview

Music Player Daemon

Music Player Daemon (MPD) image for Docker tracking latest Ubuntu rolling package version.

Setup

It's recommended to create a dedicated directory on the host for storing MPD config, database and state files.

mkdir -p /etc/mpd

Download the example config to the MPD directory

curl https://raw.githubusercontent.com/scooter1556/mpd-docker/main/mpdconf.example > /etc/mpd/mpd.conf

Modify the configuration as needed following MPD Documentation

Docker

docker run -d --name mpd -v /etc/mpd/mpd.conf:/etc/mpd.conf -v /etc/mpd:/etc/mpd -v /Path/To/Your/Music:/var/lib/mpd/music -p 6600:6600 --device /dev/snd --cap-add=sys_nice scootsoftware/mpd

Docker Compose

version: '3'
services:
mpd:
    container_name: mpd
    image: scootsoftware/mpd
    volumes:
      - /etc/mpd/mpd.conf:/etc/mpd.conf
      - /etc/mpd:/etc/mpd
      - /Path/To/Your/Music:/var/lib/mpd/music
      - /Path/To/Your/Playlists:/var/lib/mpd/playlist
    restart: unless-stopped
    ports:
      - "6600:6600"
    devices:
      - /dev/snd:/dev/snd
    cap_add:
      - SYS_NICE

Tag summary

Content type

Image

Digest

sha256:7630506f7

Size

240.7 MB

Last updated

about 2 years ago

docker pull scootsoftware/mpd:0.23.14