学习狂神docker报错解决:executable file not found in $PATH: unknown
最近学习docker网络,废话不多说,直接上代码!!错误信息 :OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: “ip”:executable file not found in $PATH: unknown解决方案:①进入容器:docker
文章共234字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
最近学习docker网络,废话不多说,直接上代码!!
错误信息 :OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: “ip”: executable file not found in $PATH: unknown
解决方案:
①进入容器:docker exec -it tomcat1 /bin/bash
②更新:apt update && apt install -y iproute2
apt-get update
③安装ip命令:apt install net-tools
成功解决问题
更多推荐
已为社区贡献1条内容
所有评论(0)