How to fix or avoid corrupted tables when installing erpnext?

This happens to me every time I install erpnext. Does anyone know how to avoid it?
I’m using the latest version of mariadb
my.cnf

[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci

[mysql]
default-character-set = utf8mb4

Fixed it by removing the volume flag on my docker command. It seems that the payment module cant access the database files if mounted outside the container.


image