docker安装ping

更新源: apt-get update -y 

安装应用: apt-get install 应用名称 -y

例如:

安装ping: apt-get update -y && apt-get install -y iputils-ping

安装ip: apt-get update -y && apt-get install -y iproute2

posted on 2021-04-02 16:31  博客园197  阅读(74)  评论(0)    收藏  举报