Skip to content

Docker container for shairport-sync audio (AirPlay) receiver

Notifications You must be signed in to change notification settings

PKizzle/docker-shairport-sync-rpi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi version of kevineye/docker-shairport-sync.

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 \
    -v /path/to/custom/shairport-sync.conf:/etc/shairport-sync.conf
    orbsmiv/shairport-sync-rpi

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 \
    orbsmiv/shairport-sync-rpi \
        -o pipe \
        -- /output

About

Docker container for shairport-sync audio (AirPlay) receiver

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 89.4%
  • Shell 10.6%