docker OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown

docker进入容器:docker exec -it 4fdcb8d5185e bash  
报错:OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown

解决方法:docker exec -it 4fdcb8d5185e sh

posted @ 2020-04-09 16:40  youxiaoxian  阅读(13389)  评论(1编辑  收藏  举报