I just don't get it. A database, SQLite or MySQL/MariaDB should not interfere in one way or another. It normally only retrieves data before the video plays. Perhaps streamdetails are updated as well if there are changes detected. After a video ends, then data is written into the database (watched status and playcount), which is trivial.
So whatever your Docker setup is doing, you may want to check the MariaDB log file and see what it is up to. Especially when things go fine when a local database is active.