Skip to content

Docker image with tools like curl, wget, ping, nslookup, dig, psql etc.

Notifications You must be signed in to change notification settings

nithyanatarajan/utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

utils

Docker image with tools like curl, wget, ping, nslookup, dig, psql, mysql etc.

Use Case

When running a cluster (Kubernetes in my case) you might want to test the connectivity between containers, connectivity to a private docker registry and artifactory, Postgres connection, etc. Your application containers won't be having tools like curl, ping, psql client etc. So you can pull this image and use the available tools to test your application.

For example, in Kubernetes one can do:

kubectl run utils --rm -it --image arunvelsriram/utils bash

# You will be seeing a bash prompt
$ psql -h hostname -U test -d test
...
...
$ exit

to quickly spawn a deployment called utils and use the tools provided by the image.

Once you exit from bash, the deployment will be deleted from the cluster automatically.

General Usage

$ docker pull arunvelsriram/utils
$ docker run --rm -it arunvelsriram/utils bash

# inside the container
$ ping google.com
$ ifconfig
...
$ exit

About

Docker image with tools like curl, wget, ping, nslookup, dig, psql etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%