alpine安装网络工具


  • telnet:busybox-extras
  • net-tools: net-tools
  • tcpdump: tcpdump
  • wget: wget
  • dig nslookup: bind-tools
  • curl: curl
  • nmap: nmap
  • wget ifconfig nc traceroute.. : busybox
  • ssh: openssh-client
  • ss iptables: iproute2
  • ethtool: ethtool
FROM  alpine
MAINTAINER  
RUN sed -i 's@http://dl-cdn.alpinelinux.org/@https://mirrors.aliyun.com/@g' /etc/apk/repositories
RUN apk add --no-cache --virtual .persistent-deps \
                curl \
		tcpdump \
                iproute2 \
                bind-tools \
                ethtool \
                busybox-extras \
                libressl \
                openssh-client \
		busybox
CMD  [ "tail", "-f" ]


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM