Container with tcpdump, ping, nslookup for debugging
960
This is a quick container which contains useful debugging utilities.
Run inside Docker:
docker run --rm -ti mitchese/debugger bash
Run inside Kubernetes:
kubectl run -i --tty --rm debug --image=mitchese/debugger --restart=Never -- bash
Run in Kubernetes from YAML (used for example to debug hairpinning issues):
apiVersion: v1
kind: Pod
metadata:
name: debugger
spec:
containers:
- image: mitchese/debugger
name: debug1
stdin: true
tty: true
command: ["/bin/bash"]
- image: mitchese/debugger
name: debug2
stdin: true
tty: true
command: ["/bin/bash"]
To connect to the containers within the pod run
kubectl exec -ti debugger --container=debug1 bash
Content type
Image
Digest
sha256:d9f523678…
Size
257.7 MB
Last updated
over 2 years ago
docker pull mitchese/debugger