I'm trying to setup a Docker container to work with a local database.
The image is this one https://hub.docker.com/r/tuxgasy/dolibarr/ and it suggests to also create a mariadb container, and link it to that.
I would like to configure the Dolibarr container to instead use the mariadb database that I already have on my main system, that was installed from my distro's main repo.
It's the first time that I try to setup a working Docker application, and I'm not that expert about database maintenance, so I'm a bit lost.
How can I do this? Please keep the instructions ad clear and detailed as possible.
My system is a fully updated openSUSE Tumbleweed.