Migrating RoonServer from Linux to Container

Hi Forum,

Currently I have an LXC container on Proxmox running RoonServer (Roon is runing on Debian 13).

Roon is installed in /opt/RoonServer.

My Music resides on an NFS share, which is mounted on /media/roon.

Now I want to migrate my settings, Playlists, etc. to a podman container.

What would be the best approach?

My thoughts are:

  • get RoonServer running on podman/docker
  • mount all necessary network shares
  • restore RoonServer from backup.

Is there anyone who got RoonServer running on docker/podman/kubernetes?

Any hint or a nudge in the right direction is highly appreciated!

Many thanks,

Frank

Yes, I run Roon Server using Podman. Whilst I have a custom image for production, I have tested the official Docker image and this works with Podman.

All you need to do is install Podman, create folders for your Roon data (this should be on SSD) and backups, and restore your database. You’ll also need to amend paths to your music and backups from the Roon app to match the storage volumes, i.e., /Music and /RoonBackups.

These are the steps.

sudo apt install --yes podman

Create the folders. Change these to what you are using.

mkdir -p ~/containers/roon ~/containers/roon-backups

Create and run Roon server. Again, amend the volumes section, but keep everything after the colons (:slight_smile: intact. This is my EA install, so you will want to rename and use the production branch. Finally, set the correct time zone.

podman run -d \
  --name roon-server-ea \
  -e ROON_INSTALL_BRANCH=earlyaccess \
  -e TZ=Europe/London \
  -v /home/martin/containers/roon:/Roon \
  -v /media/martin/multimedia/music:/Music \
  -v /home/martin/containers/roon-backups:/RoonBackups \
  --restart unless-stopped \
  --device /dev/snd:/dev/snd \
  --device /dev/bus/usb:/dev/bus/usb \
  --group-add audio \
  --network=host \
ghcr.io/roonlabs/roonserver:latest

On Ubuntu, I use Systemd to start the container after a reboot. If you use Systemd, I’ll share those steps, too.