docker exec + bash进入容器时报错

使用docker exec + bash进入容器时报错
由于镜像系统不一,使用错误shell解释器导致,可尝试以下其中一种方案。
[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\
【解决】
docker exec -it container-test /bin/bash
docker exec -it container-test /bin/sh
docker exec -it container-test /bin/csh

上一篇:pytest学习笔记01-pytest的安装以及插件的选择


下一篇:浅谈C++中的多线程(三):Qt中的多线程应用