A Python program that tests network connectivity and latency to any host or IP address.
374
network-testingThe network-testing repository provides a Python-based tool for performing network diagnostics such as DNS resolution, ICMP ping, and TCP port connectivity checks. It is packaged with a Docker container image based on Amazon Linux 2023, enabling portable, secure, and reproducible execution across environments.
The core application (network_tester.py) offers:
output/.The Docker image is designed for containerized network testing and includes:
network_tester.pyping, traceroute, nslookup, dignetstat, ip, tcpdumpnc (ncat), telnetwget, curlThis makes the container suitable for both automated testing and interactive troubleshooting.
docker build -t network-tester:latest .
docker run --rm network-tester:latest google.com
docker run --rm network-tester:latest google.com -p 80 443 8080
docker run --rm network-tester:latest google.com -c 10
docker run --rm -v $(pwd)/results:/app/output network-tester:latest google.com
docker run --rm -it --entrypoint /bin/bash network-tester:latest
apiVersion: v1
kind: Pod
metadata:
name: network-tester
spec:
containers:
- name: network-tester
image: network-tester:latest
command: ["python3", "/app/network_tester.py"]
args: ["google.com", "-p", "80", "443"]
In summary:
This repository delivers a secure, container-ready network testing tool with built-in diagnostics and bundled utilities. The Docker image ensures portability across environments, supports interactive and automated workflows, and integrates seamlessly with registries like Docker Hub and Amazon ECR.
Content type
Image
Digest
sha256:6b0a4a0f5ā¦
Size
87.5 MB
Last updated
5 months ago
docker pull trmatts143/network-tester