ERROR: [FATAL tini (7)] exec -e failed: No such file or directory

Anju
Jun 2, 2021

--

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

--

--

Anju
Anju

Written by Anju

A DevOps engineer who loves automating everything (almost), exploring new places, and finding peace in nature. Always looking for the next adventure!

No responses yet