mpd 0.22 not working in Docker
mpd from alpine works fine, from alpine:edge it does not work.
thomas@roper mpd % docker run -it mpd /bin/sh / # strace /usr/bin/mpd execve("/usr/bin/mpd", ["/usr/bin/mpd"], 0x7ffea80d73b0 /* 6 vars */) = -1 EPERM (Operation not permitted) strace: exec: Operation not permitted +++ exited with 1 +++ / # stat /usr/bin/mpd File: /usr/bin/mpd Size: 1055136 Blocks: 2064 IO Block: 4096 regular file Device: 63h/99d Inode: 21385822 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2020-09-24 19:35:14.000000000 Modify: 2020-09-24 19:35:14.000000000 Change: 2020-10-04 12:19:05.000000000
I have this both on x64 and arm64 docker containers (RUN apk add mpd mpc). I tried creating a qemu virt VM from alpine iso image to reproduce in a non-container environment but I couldn't get networking to work there.