Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.42 KB

README.md

File metadata and controls

49 lines (40 loc) · 1.42 KB

Image for testing and debugging Network issues with Web Servers.

4 Tags

  • frjaraur/nettools:small
  • frjaraur/nettools:jmeter
  • frjaraur/nettools:k6
  • frjaraur/nettools:everything

Tools Available in Small Version:

Tools Available in Jmeter, K6 or Everything:

Example Usage:

$  docker run --rm  frjaraur/nettools:small \
ab -n 1 -v 2 -k http://www.example.com/

$ docker run --rm -v /tmp/abdata:/tmp frjaraur/nettools:small \
ab -k -n1000 -c100 -H 'Accept-Encoding: gzip,deflate' \
-g /tmp/codegazers.csv https://www.codegazers.org/

$ docker run -ti --env HTTPSTAT_SHOW_SPEED=true frjaraur/nettools:small \
httpstat https://www.codegazers.org

Notes:

  • It doesn't need root, it uses user nettools with uid 65500. If you need to deploy ports under 1024, you will need to change container execution user. For example, running traceroute may require open AF_INET socket or using icmp ping with nping will require root permissions too. Simply run container as root user:
$ docker run --rm --user=root frjaraur/nettools:small \
traceroute www.google.com

$ docker run --rm  --user=root frjaraur/nettools:small \
nping --icmp www.google.com