Expose Sonos over Airplay via a Docker container
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
init
services
Dockerfile
LICENSE
README.md
cleanup.sh
install.sh
prepare.sh

README.md

Summary

This is a Docker container for AirSonos.

AirSonos exposes Sonos as an AirPlay endpoint. To learn more about AirSonos, read the author's blog about it.

Installation

There isn't really any installation, but you need to have Docker installed. Consult the official Docker documentation for full details.

Running the airsonos container

The first run will pull the container image down to your local machine.

sudo docker run -d --restart=always --net="host" --name="airsonos" \
  -p 5000-5050:5000-5050/tcp justintime/airsonos

Notes on running the container

Because the discovery mechanism uses mdns, you have to use --net="host" in order for discovery of your Sonos devices to work properly. Since AirSonos binds to random ports between 5000 and 5050, it's best to publish them all.