If you run into same the same issue then you probably missing the syntax of docker run command:
docker run --rm -it -p 3306:3306 my_mariadb -e MYSQL_ROOT_PASSWORD=admin@123
[FATAL tini (7)] exec -e failed: No such file or directory
Here -e is a flag and “my_image” is parameter passed to “docker run” hence it should before -e
docker run --rm -it -p 3306:3306 -e MYSQL_ROOT_PASSWORD=admin@123 my_mariadb