e44671200b7c /# mysql -u root -p bash
mysql: command not found
I was able to enter into the container "mariadb" using
docker exec -it e44671200b7c /bin/bash
but i couldn't and i have this now error
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown
bash
is not present in mariadb
Docker image. Use docker exec -it e44671200b7c /bin/sh
or simply docker exec -it e44671200b7c sh
instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With