Docker — exec: “bash”: executable file not found in $PATH
Apr 28, 2021
If bash
shell is not working, try sh
.
$ docker exec -it 4d3232519433 bash
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused “exec: \”bash\”: executable file not found in $PATH”: unknown
So you should try:
$ docker exec -it 4d3232519433 sh
/application/home #
I hope it help you!