容器中运行ip addr提示bash: ip: command not found
原因没有安装ip命令。

root@docker-desktop:/# ip addr
bash: ip: command not found
root@docker-desktop:/# apt-get install -y iproute2

容器中运行ip addr提示bash: ip: command not found【笔记】插图容器中运行ip addr提示bash: ip: command not found【笔记】插图(1)

本站无任何商业行为
个人在线分享 » 容器中运行ip addr提示bash: ip: command not found【笔记】
E-->