Three containers with useful tools for troubleshooting.
This container has the following tools/packages installed:
- bash
- curl
- wget
- vim
- nano
- iputils-ping
- htop
The container image can be downloaded by ghrc.io and docker.io
ghcr.io/dergeberl/multitool:latest
dergeberl/multitool:latest
The following tools/packages are installed in this container in addition to the basic container:
- socat
- tcpdump
- dnsutils
- nmap
- net-tools
- ethtool
- netcat-openbsd
- sysstat
- iftop
- iotop
- lsof
- mtr
The container image can be downloaded by ghrc.io and docker.io
ghcr.io/dergeberl/multitool-net:latest
dergeberl/multitool-net:latest
The following tools/packages are installed in this container in addition to the basic container:
- kubectl
The container image can be downloaded by ghrc.io and docker.io
ghcr.io/dergeberl/multitool-kubectl:latest
dergeberl/multitool-kubectl:latest
All containers are available for the following arch:
- amd64
- armv7
- arm64
docker run --rm -it --name multitool ghcr.io/dergeberl/multitool:latest /bin/bashkubectl run -i --tty --image ghcr.io/dergeberl/multitool:latest multitool -- /bin/bashStart a ephemeral container in an existing pod with the kubectl debug command.
Checkout kubernetes docs: https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/#ephemeral-containe
The following commands adds ephemeral container in with a bash:
kubectl debug -iq --image=ghcr.io/dergeberl/multitool:latest <podname> -- /bin/bashThe following commands adds ephemeral container in with a tcpdump and pipes the output directly to wireshark:
kubectl debug -iq --image=ghcr.io/dergeberl/multitool-net:latest <podname> -- tcpdump -i any -w - | wireshark -k -i -