Sign inSign up

ngacareer/testtools

By ngacareer

Updated over 5 years ago

Check status of network, error of web app and etc ... with lightweight image. Example : ping, curl.

Image
3

1.1K

ngacareer/testtools repository overview

Quick reference

Quick reference (cont.)

What is testtools ?

The image is a Linux lightweight, It has been integrated with common command lines, download the curl sources and compile curl package, image run dumb-init as PID 1 which forwards signals to all processes running in the container. we can check the network environment, check web app activity (HTTP/HTTPS).

Example : ping, curl, etc ...

How to use this image

  • On Docker
docker run -itd --name testtools ngacareer/testtools
docker exec -it testtools bin/sh
# ping ngacareer.com
# curl https://ngacareer.com
  • On Kubernetes
kubectl run testtools --image=ngacareer/testtools
kubectl exec -it testtools bin/sh
#ping ngacareer.com
#curl https://ngacareer
  • On OpenShift
oc new-app --docker-image=ngacareer/testtools:noroot --name=testtools
oc exec -it $(oc get pod -l app=testtools -o jsonpath="{.items[0].metadata.name}") bin/sh
$curl https://ngacareer.com

Tag summary

Content type

Image

Digest

Size

75.8 MB

Last updated

over 5 years ago

docker pull ngacareer/testtools