【问题一】
[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
【分析】
由于镜像系统不一,使用错误shell解释器导致,可尝试以下解决方案。
【解决】
docker exec -it container-test /bin/bash docker exec -it container-test /bin/sh
docker exec -it container-test /bin/csh
【问题二】
【分析】
【解决】
扫描二维码关注公众号,回复:
7750723 查看本文章
【问题三】
【分析】
【解决】