docker执行命令:docker exec -it 1e33b26152e1 \bin\bash
在进入容器报错:OCI runtime exec failed: exec failed: container_linux.go:367: starting container process caused: exec: "binbash": executable file not found in $PATH: unknown
[root@sanmen ~]# docker exec -it 9b40ff597e27 \bin\bash
OCI runtime exec failed: exec failed: container_linux.go:367: starting container process caused: exec: "binbash": executable file not found in $PATH: unknown
[root@sanmen ~]# docker exec -it 9b40ff597e27 /bin/bash
root@9b40ff597e27:/# mysql
其实是\bin\bash 命令斜杆不对,linux中用"/",写成“/bin/bash“就对了。