[question] when using docker exec + sh to enter the container, an error will be reported
[root@localhost home]# docker exec -it container-test bash
OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown
[analysis]
Due to the different mirror systems and the use of wrong shell interpreter, you can try one of the following solutions
[solution]
docker exec -it container-test /bin/bash
docker exec -it container-test /bin/sh
docker exec -it container-test /bin/csh