The music server application MPD. Using alpine linux.To use with Icecast. Part of docker-music-stack
50K+
This is an image for my favorite music server application MPD. Using alpine as Cthe operating system.
This image is configured to use with Icecast as streaming output. You can edit the mpd.conf or use the fully audio stack I created. Check below about docker-music-stack
Check alpine-mpd, alpine-icecast, alpine-sima and alpine-ympd.
You can create volumes for your music, playlists and/or database, or use host volumes instead, you need to replace your_SOMETHING_volume with your host path or own volume.
docker run -d -p 6600:6600 \
-v your_music_volume:/var/lib/mpd/music \
-v your_playlists_volume:/var/lib/mpd/playlists \
-v your_database_volume:/var/lib/mpd/database \
--name mpd vitiman/alpine-mpd:latest
An instance of mpd is now running with the port 6600 mapped to your host or docker-machine IP address.
Check the repository and you will find an mpd.conf you can edit and set your custom configuration. You just need to build the image again.
The passwords in the current configuration are just for testing purposes.
I've made a group of images for a full music-stack fully working.
Check the Github repository or the rest of images in Docker Hub. There is a docker-compose to setup everything.
You have two options to execute all the stack, using docker-compose or launching the containers one-by-one, your choice.
The default access to applications are:
http://localhost:6600 or http://docker_machine_ip:6600http://localhost:8000/mpd or http://docker_machine_ip:8000/mpdhttp://localhost:8080 or http://docker_machine_ip:8080Clone this repo. Edit docker-compose.yml and add your host volumes for your music, playlists and/or database, then:
docker-compose up -d
Create a bridge network
docker network create --name music_stack
Run Icecast
docker run -p 8000:8000 --net music_stack --name=icecast -d vitiman/alpine-icecast:latest
Run MPD
Use host volumes or create your own volumes for your music, playlists and/or database
docker run -d -p 6600:6600 --net music_stack \
-v your_music_volume:/var/lib/mpd/music \
-v your_playlists_volume:/var/lib/mpd/playlists \
-v your_database_volume:/var/lib/mpd/database \
--name mpd vitiman/alpine-mpd:latest
4. (Optional) Run sima
`docker run --net music_stack --name=sima -d vitiman/alpine-sima:latest`
5. (Optional) Run ympd
`docker run -p 8080:8080 --net music_stack --name=ympd -d vitiman/alpine-ympd:latest`
Enjoy!
Content type
Image
Digest
Size
27.3 MB
Last updated
over 10 years ago
docker pull vitiman/alpine-mpd