A Docker image to run shairport-sync on a Raspberry Pi.
Tested on a Raspberry Pi 3 running Debian Jessie.
$ docker run -d --restart always \
--name shairport \
--net host \
--device /dev/snd \
evansalter/shairport-sync-docker-pi
$ git clone https://github.com/esalter-va/shairport-sync-docker-pi/
$ cd shairport-sync-docker-pi
$ docker build . -t shairport-sync-docker-pi
$ docker run -d --restart always \
--name shairport \
--net host \
--device /dev/snd \
shairport-sync-docker-pi
The server will now show up on your macOS and iOS devices and you should be able to play music to them.
NOTE: In it's current form, sound may not be output through the Raspberry Pi's headphone jack. It has only been tested with HDMI output.