Open tengufromsky opened 5 years ago
mpd runs as the mpd user, so since the directory is owned by root the application running inside the container cannot write to the database directory. I fixed it using chmod on the database directory, but there are more secure ways to fix this.
I trying start mpd container via docker-compose:
I assume, that
./music
directory on my host contains music, but i don't create./playlists
and./database
folders, because i did not use mpd directly in the host before. On container startup folders ./playlists and ./database created withroot
ownership, but MPD container show me erros:Do you have any solving ideas?