Delete the - ALLOW_EMPTY_PASSWORD=no
Look at using docker-compose as you'll likely want to connect other containers to that DB so you don't have MariaDB containers everywhere
https://www.howtogeek.com/devops/what-is-docker-compose-and-how-do-you-use-it/
Once you're using docker-compose you no longer need to store user credentials in plaintext which is really not the best practice