@Raybuntu
Sure.
Please, install "docker" add-on from "LinuxServer.io docker Add-ons" repository.
Then from the same repository Services->MariaDB.
After that try to set up in add-on's config Configuration->Map/config path - then accept it with OK. Docker container shoud reboot.
Please check if docker mount to container the path you've entered in configuration.
Should be visible i.e. by "ps ax|grep maria"
Code
10203 root 0:00 /bin/sh /storage/.kodi/addons/docker.linuxserver.mariadb/bin/docker.linuxserver.mariadb
10258 root 0:00 docker run --name=docker.linuxserver.mariadb -e WARNING_MSG=DO NOT CONTROL THIS IN PORTAINER! -e PUID=65534 -e PGID=100 -e TZ= -v /storage/.kodi/userdata/add
on_data/docker.linuxserver.mariadb/config:/config -p 3306:3306 lsioarmhf/mariadb:latest
10543 root 0:00 s6-supervise mariadb
10849 root 0:00 grep maria
on my example you can see PID=10258 with an option:
whilst path in Map/config is: "/media/hdd/mariadb/config" (means different that this after -v flag).