Sign inSign up

mitchese/debugger

By mitchese

Updated over 2 years ago

Container with tcpdump, ping, nslookup for debugging

Image
0

960

mitchese/debugger repository overview

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

Tag summary

Content type

Image

Digest

sha256:d9f523678

Size

257.7 MB

Last updated

over 2 years ago

docker pull mitchese/debugger