This Dockerfile builds a docker container version of Sonos-Web [1], suitable for use on a Raspberry Pi.
It has so far been tested on the following Raspberry Pi models:
In order to build for ARM on Docker Hub, the Dockerfile makes use of the crossbuild capabilities provided by the Balena Debian distribution [2], which allows ARM images to be built under x86. (If you want to use this Dockerfile to build directly on a native ARM device, comment out or delete the two cross-build
RUN statements.)
The docker image name is psychlist/docker-sonos-web-arm
on Docker Hub [3].
A working Docker environment on a suitable Raspberry Pi, and Internet access to pull the Docker image.
The container is started as follows:
docker run -d \
--net=host \
--restart=always \
--name=sonos-web \
psychlist/docker-sonos-web-arm
To update the container to the latest version, first pull the new image, then stop & restart the container:
docker pull psychlist/docker-sonos-web-arm
docker rm --force sonos-web
docker run -d \
--net=host \
--restart=always \
--name=sonos-web \
psychlist/docker-sonos-web-arm
[1] https://github.com/Villarrealized/sonos-web \ [2] https://hub.docker.com/r/balenalib/raspberrypi3-debian-node \ [3] https://hub.docker.com/r/psychlist/docker-sonos-web-arm