Ubuntu 容器环境安装ping ifconfig

进入容器执行:ifconfig  ping 没有该命令
apt-get update
###命令
ifconfig apt-get install net-tools ###命令 ping apt-get install iputils-ping ####命令 ip apt-get install iproute2

 

相关文章:

  • 2021-11-26
  • 2021-08-24
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2021-12-08
  • 2021-07-24
  • 2021-12-12
猜你喜欢
  • 2021-06-16
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案