Provide some network tools for network engineers.
You can build the image by yourselves, or pull the image from dockerhub
$ docker pull xiaopeng163/net-box
Some examples like:
$ docker run --rm -it xiaopeng163/net-box ssh pengxiao@192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
ECDSA key fingerprint is SHA256:CAGkNVP0v5CIIVMXd2L24B+n+eGuhLRnTY1+W3tncaQ.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.1' (ECDSA) to the list of known hosts.
*** Unauthorized access to this system/network is prohibited. ***
User Authentication
Enter password:
<aa-bb-cc-r1>
$ docker run --rm -it xiaopeng163/net-box snmpwalk -v 2c -c abc123 192.168.1.1 sysName.0
Created directory: /var/lib/net-snmp
Created directory: /var/lib/net-snmp/mib_indexes
SNMPv2-MIB::sysName.0 = STRING: aa-bb-cc-r1
it will be handy to use alias
$ alias netbox="docker run --rm -it xiaopeng163/net-box"
then just use
$ netbox snmpget -v 2c -c public 1.1.1.1 sysName.0
test localhost app
$ docker run --rm -it --network=host xiaopeng163/net-box wrk -t12 -c400 -d30s http://127.0.0.1:8000
Running 30s test @ http://127.0.0.1:8000
12 threads and 400 connections
Tools include:
- ping
- ping6
- traceroute
- traceroute6
- mtr
- iperf3
- dig
- whois
- nslookup
- nmap
- ssh
- ssh-add
- ssh-agent
- ssh-copy-id
- ssh-keygen
- ssh-keyscan
- ssh-pkcs11-helper
- scanssh
- telnet
- net-snmp-create-v3-user
- snmpbulkget
- snmpbulkwalk
- snmpconf
- snmpdelta
- snmpdf
- snmpget
- snmpgetnext
- snmpinform
- snmpnetstat
- snmpping
- snmpps
- snmpset
- snmpstatus
- snmptable
- snmptest
- snmptop
- snmptranslate
- snmptrap
- snmpusm
- snmpvacm
- snmpwalk
- snmptt
- curl
- wget
- wrk
welcome to contribute and add some useful tools for network engineers.