Urbackup-server doesn't install/start on ROOTLESS docker

Hi All,

I am trying to install uroni/urbackup-server [Docker] on my local rootless docker environment without success.

Can uroni/urbackup-server be installed in a rootless docker environment/container? Do I need to follow a different install procedure to?

I am getting some errors regarding what I understand are privilege issues and as a result it doesn’t start.

As per the instructions [UrBackup - Download UrBackup for Windows, GNU/Linux or FreeBSD] I installed with:
docker run -d --name urbackup --restart unless-stopped -v /media/backups:/backups -v /media/database:/var/urbackup -p 55413-55415:55413-55415 -p 35623:35623/udp uroni/urbackup-server

The first time I installed, the installer gave me these errors and it didn’t finish.

docker: Error response from daemon: error while creating mount source path ‘/media/backups’: mkdir /media/backups: permission denied.
docker: Error response from daemon: error while creating mount source path ‘/media/database’: mkdir /media/database: permission denied.

I went on and created:

sudo mkdir /media/backups
sudo mkdir /media/database

After that the installation completed without errors, but the containers fails to start. In the log I see this error only:

“/usr/bin/entrypoint.sh: line 6: /var/urbackup/backupfolder: Permission denied”

Any ideas?

FYI:
Host details

Hostname ubuntu-server-1
OS Information linux x86_64 Ubuntu 20.04.3 LTS
Kernel Version 5.4.0-89-generic
Total CPU 4
Total memory 2.1 GB

Docker engine details

Version 20.10.10 (API: 1.41)
Root directory /home/xxxxxx/.local/share/docker
Storage Driver overlay2
Logging Driver json-file
Volume Plugins local
Network Plugins bridge, host, ipvlan, macvlan, null, overlay