Open qiaoyukeji opened 1 year ago
docker部署nps服务后,想修改部分文件,使用 docker exec -it ID /bin/bash 无法进入docker容器中,一直提示报错。
docker exec -it ID /bin/bash
[qiaoyu@VM-4-16-centos ~]$ docker exec -it 91b /bin/bash OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown [qiaoyu@VM-4-16-centos ~]$ docker exec -it 91b /bin/sh OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "/bin/sh": stat /bin/sh: no such file or directory: unknown
docker部署nps服务后,想修改部分文件,使用
docker exec -it ID /bin/bash
无法进入docker容器中,一直提示报错。