Skip to content

Instantly share code, notes, and snippets.

@alexander-bauer
Created December 12, 2022 05:42
Show Gist options
  • Save alexander-bauer/c2c6fd5fec6506cc6559d4406d2e5272 to your computer and use it in GitHub Desktop.
Save alexander-bauer/c2c6fd5fec6506cc6559d4406d2e5272 to your computer and use it in GitHub Desktop.
Open a netshoot (nmap + tcpdump + wireshark) container on Kubernetes with host networking
#!/bin/bash
kubectl run -it --rm --overrides='{"spec": {"hostNetwork": true}}' --image nicolaka/netshoot:latest netshoot -- bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment