您的位置:首页 > 运维架构 > Docker

Docker的ubuntu镜像无ifconfig和ping命令 bash: ifconfig: command not found

2017-09-29 21:17 567 查看
通过
whereis ifconfig
发现根本就没有安装这个命令,需要自己安装

apt-get update

apt install net-tools # ifconfig

apt install iputils-ping # ping
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu docker