docker的ubuntu镜像无ifconfig和ping命令

或者 ubuntu系统中无ifconfig 和 ping

 

解决方案:

执行以下鸣冷:

apt-get update

apt-get install net-tools

apt-get install iputils-ping

 

Ok.再说一句,net-tools包还包含:arp, ifconfignetstatrarpnameif and route这几个工具。

相关文章:

  • 2022-12-23
  • 2021-07-10
  • 2022-02-09
  • 2022-12-23
  • 2021-09-20
  • 2021-07-02
  • 2022-12-23
  • 2021-11-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2021-08-03
  • 2022-12-23
  • 2021-06-16
相关资源
相似解决方案