1. 程式人生 > >Docker進入容器後使用ifconfig等命令“command not found”解決辦法

Docker進入容器後使用ifconfig等命令“command not found”解決辦法

bar tab fault -a mage ont bsp tools net

當進入一個容器後,使用ifconfig、ip addr等命令時,出現如下“command not found”: 技術分享圖片 解決辦法:
yum update
yum -y install net-tools

Docker進入容器後使用ifconfig等命令“command not found”解決辦法