[英]Docker – exec: "bash": executable file not found in $PATH
The truth is, not every image is using the bash shell;事实是,并非每个图像都使用 bash shell; try sh shell.试试 sh shell。
docker exec -it 027285d69613 sh docker exec -it 027285d69613 sh
Refer to this blog for more details.有关更多详细信息,请参阅此博客。 https://mkyong.com/docker/docker-exec-bash-executable-file-not-found-in-path/ https://mkyong.com/docker/docker-exec-bash-executable-file-not-found-in-path/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.