Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arunvelsriram/utils
Docker image with tools like curl, wget, ping, nslookup, dig, psql etc.
https://github.com/arunvelsriram/utils
debugging docker docker-image kubernetes swissarmyknife tools utilities
Last synced: 6 days ago
JSON representation
Docker image with tools like curl, wget, ping, nslookup, dig, psql etc.
- Host: GitHub
- URL: https://github.com/arunvelsriram/utils
- Owner: arunvelsriram
- License: mit
- Created: 2018-01-09T13:56:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-15T16:06:46.000Z (6 months ago)
- Last Synced: 2024-10-15T14:11:01.964Z (21 days ago)
- Topics: debugging, docker, docker-image, kubernetes, swissarmyknife, tools, utilities
- Language: Dockerfile
- Homepage:
- Size: 65.4 KB
- Stars: 146
- Watchers: 6
- Forks: 46
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# utils ![CI](https://github.com/arunvelsriram/utils/workflows/CI/badge.svg)
Docker image with tools like curl, wget, ping, netcat, nslookup,host, dig, psql, mysql, swaks etc.
## Use Case
When using containers you might want to test the connectivity between the containers. Your application containers won't be having tools like curl, ping, psql client etc. So you can start a one-off container using this image and test your application.
For example, to run a one-off container in Kubernetes:
```
kubectl run --rm utils -it --image arunvelsriram/utils bash# You will be seeing a bash prompt
$ psql -h hostname -U test -d test
...
...
$ exit
```Using a Kubernetes Deployment:
```
kubectl create deploy utils --image=arunvelsriram/utils --replicas=1 -- sleep infinitykubectl exec -it deploy/utils -- bash
```**Note:** `--rm` option will delete the `pod` after exiting from the container
## General Usage
```
$ docker pull arunvelsriram/utils
$ docker run --rm -it arunvelsriram/utils bash# inside the container
$ ping google.com
$ ifconfig
...
$ exit
```## Contributing
Run tests:
```
$ ./run-test
```