Docker image to install and run Roon.
3.8K
docker-roonserver for installing and running RoonServer in a docker environment.
This little project configures a docker image for running RoonServer. It downloads RoonServer if not found on an external volume.
Example start:
docker run -d \
--net=host \
-e TZ="America/Los_Angeles" \
-v roon_app:/app \
-v roon_data:/data \
-v /media/music:/music:ro \
-v /media/backups:/backup \
alron/docker-roonserver:latest
TZ to your timezone./media/music and /media/backups to your proper media and backup location on the host server./music and configure backups to /backup on first run.docker volume create roon_data && docker volume create roon_appExample systemd service:
[Unit]
Description=Roon
After=docker.service
Requires=docker.service
[Service]
TimeoutStartSec=0
TimeoutStopSec=180
ExecStartPre=-/usr/bin/docker kill %n
ExecStartPre=-/usr/bin/docker rm -f %n
ExecStartPre=/usr/bin/docker pull alron/docker-roonserver
ExecStart=/usr/bin/docker \
run --name %n \
--net=host \
-e TZ="America/Los_Angeles" \
-v roon_app:/app \
-v roon_data:/data \
-v /media/music:/music:ro \
-v /media/backups:/backup \
alron/docker-roonserver
ExecStop=/usr/bin/docker stop %n
Restart=always
RestartSec=10s
[Install]
WantedBy=multi-user.target
Example docker compose service running in a vlan environment:
version: '3.5'
services:
roon:
container_name: roon
image: alron/docker-roonserver
restart: unless-stopped
environment:
- TZ=America/Los_Angeles
networks:
docker-vlan2:
ipv4_address: 10.0.0.9
hostname: roon
devices:
- /dev/snd
volumes:
- roon_app:/app
- roon_data:/data
- /media/music:/music:ro
- /media/roon/backups:/backup
dns:
- 1.1.1.1
- 8.8.8.8
volumes:
roon_data:
external: true
name: roon_data
roon_app:
external: true
name: roon_app
Don't forget to run docker volume create roon_data && docker volume create roon_app before starting the compose if
basing off of this example.
ubuntu:noble and updated libicu70 to libicu74.docker compose configuration to be compliant with external volume changes in the
official docker compose client. Removed ubuntu package caches to reduce image size.ubuntu:jammy and added dumb-init to handle signal routing, updated to libicu70, and
migrated to using TLS downloads for container.steefdebruijn/docker-roonserver, rebase image to ubuntu:latest, install ksh for forkers
personal preference, replace bash run script with ksh for forkers personal preference, update examples, and
install libicu66 to support the upcoming Roon Mono to .NET change.debian-10.9-slim and check for shared /app and /data folders.systemd example.debian-9.6Content type
Image
Digest
sha256:cd208b1eb…
Size
291 MB
Last updated
over 2 years ago
docker pull alron/docker-roonserver