Docker container for shairport-sync audio (AirPlay) receiver
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dockerfile
README.md
start.sh

README.md

shairport-sync is an Apple AirPlay receiver. It can receive audio directly from iOS devices, iTunes, etc. Multiple instances of shairport-sync will stay in sync with each other and other AirPlay devices when used with a compatible multi-room player, such as iTunes or forked-daapd.

Run

docker run -d \
    --net host \
    --device /dev/snd \
    -e AIRPLAY_NAME=Docker \
    kevineye/shairport-sync

Parameters

  • --net host must be run in host mode
  • --device /dev/snd share host alsa system with container. Does not require --privileged as -v /dev/snd:/dev/snd would
  • -e AIRPLAY_NAME=Docker set the AirPlay device name. Defaults to Docker
  • extra arguments will be passed to shairplay-sync (try -- help)

More examples

Send output to a named pipe:

mkfifo /some/pipe
docker run -d \
    --net host \
    -v /some/pipe:/output \
    kevineye/shairport-sync \
        -o pipe \
        -- /output