当容器没有bash的时候如何进入容器 发表于10 6 月, 2021由chenhongyi 不是所有的linux版本都会使用bash。比如在安装基于aplinelinux的镜像,他使用/bin/sh。所以进入镜像的方法是 docker exec -it your—container /bin/sh