e44671200b7c /# mysql -u root -p bash
mysql: command not found我可以使用以下命令进入容器"mariadb“
docker exec -it e44671200b7c /bin/bash但是我不能,我现在有这个错误
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown发布于 2020-09-17 19:32:50
mariadb Docker镜像中不存在bash。改为使用docker exec -it e44671200b7c /bin/sh或简单的docker exec -it e44671200b7c sh。
https://stackoverflow.com/questions/63937096
复制相似问题