All checks were successful
continuous-integration/drone/push Build is passing
38 lines
1.1 KiB
Markdown
38 lines
1.1 KiB
Markdown
# network-tools
|
|
|
|
[](https://drone.cryptic.systems/volker.raschek/network-tools)
|
|
[](https://hub.docker.com/r/volkerraschek/network-tools)
|
|
|
|
This project contains all sources to build the container image
|
|
`docker.io/volkerraschek/network-tools`. The primary goal of the image is only
|
|
to contain some network tools to debug container based environments like docker
|
|
or kubernetes.
|
|
|
|
## Usage
|
|
|
|
### Docker
|
|
|
|
To use this image execute the following command in a docker environment.
|
|
|
|
```bash
|
|
$ docker run \
|
|
--rm \
|
|
volkerraschek/network-tools:latest \
|
|
sh
|
|
```
|
|
|
|
### Kubernetes
|
|
|
|
For a kubernetes environment you can use the [YAML-File](network-tools.yaml) by
|
|
executing the following command.
|
|
|
|
```bash
|
|
kubectl create -f https://git.cryptic.systems/volker.raschek/network-tools/raw/branch/master/network-tools.yml
|
|
```
|
|
|
|
Execute a shell inside the container by
|
|
|
|
```bash
|
|
kubectl exec -it network-tools -- sh
|
|
```
|