Sign inSign up

frjaraur/nettools

By frjaraur

Updated over 4 years ago

Docker Net Tools for Testing

Image
1

4.2K

frjaraur/nettools repository overview

nettools -- https://hub.docker.com/r/frjaraur/nettools/

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

Tag summary

Content type

Image

Digest

Size

36.4 MB

Last updated

over 8 years ago

docker pull frjaraur/nettools