Hi,
While running the mariadb container for the first time, the random root generated password is displayed in clear text in container logs.
If you want to use your own password, you can use the MARIADB_ROOT_PASSWORD variable instead of MARIADB_RANDOM_ROOT_PASSWORD.
It is written in the doc, section environment variables: Docker
Best,