dyadin/toolbox
A lightweight troubeshooting toolbox for cloud native apps.
177
FROM alpine:latest
RUN apk add --no-cache darkhttpd tcpdump curl bash iperf3 bind-tools openssh busybox-extras nmap jq\
&& echo 'echo -e "Uasge: \n\ntools included in this toolbox:bash, ssh, ping, traceroute, curl, dig, wget, nslookup, darkhttpd, tcpdump, iperf3, telnet, nmap, dnsd, udhcpd, tftp, ftpd.\
\n\nExample: \n - nslookup www.bing.com \n - traceroute www.bing.com \n - darkhttpd <path> \n - tcpdump -i eth0 -w packet.pcap \n - iperf3 -s\
\n - iperf3 -c <serverip> \n - wget http://192.168.1.1/1.tar.gz \n - curl -o 1.tar.gz http://192.168.1.1/1.tar.gz \n - dig www.bing.com \n - nmap 192.168.1.1 \n - telnet 192.168.1.1 80 \n "' > /root/.bashrc && echo "dns 192.168.10.1">/etc/dnsd.conf
CMD ["/bin/bash"]
docker run -it --rm --name=toolbox-test dyadin/toolbox
Uasge:
tools included in this toolbox:bash, ping, traceroute, culr, dig, wget, nslookup, darkhttpd, tcpdump, iperf3, namp, telnet.
Example:
- nslookup www.bing.com
- traceroute www.bing.com
- darkhttpd <path>
- tcpdump -i eth0 -w packet.pcap
- iperf3 -s
- iperf3 -c <serverip>
- wget http://192.168.1.1/1.tar.gz
- curl -o 1.tar.gz http://192.168.1.1/1.tar.gz
- dig www.bing.com
- nmap 192.168.1.1
- busybox-extras telnet 192.168.1.1 80
v1.0 : bash, ping, traceroute, culr, dig, wget, nslookup, darkhttpd, tcpdump, iperf3.
v1.1 : add SSH package.
v1.2 : add telnet, nmap, jq package.
if you'd like more powerful tools , refer to : https://hub.docker.com/r/praqma/network-multitool/
docker pull dyadin/toolbox