Skip to content

netshoot

Container image of network debugging tools for Docker and Kubernetes troubleshooting

Permissive (OSI) · Apache-2.0

Listed by , founder & editor

47

Health

Slowing

Overview

Stars

11,111

Last commit

today

Nov 2026

Repository age

10 years

since Aug 2016

Latest version

–

Contributors

–

3 active in 90 days

Releases

0

last 12 months

Docker pulls

160M

nicolaka/netshoot

Language

Shell

Netshoot is a Docker image packed with command-line network tools. You attach it to a container's network namespace, to the host's, or run it in Kubernetes, and debug without installing anything into the target.

In Docker, you can share a running container's namespace or use the host's. In Kubernetes, you can start an ephemeral debug container with kubectl debug, a throwaway pod, or a sidecar in a Deployment. A kubectl plugin wraps these as subcommands, including node debug sessions. A Compose file captures packets to a pcap.

Included tools cover DNS lookups with drill, packet capture with tcpdump, path tracing with mtr and trippy, and throughput tests with iperf3. The project documents common cases such as DNS failures and latency. It is Apache-2.0 licensed and distributed through Docker Hub.

Who it's for

Kubernetes operators debugging pod connectivity

You can attach an ephemeral container to a pod without changing it.

Skip if: Your cluster blocks ephemeral containers or privileged debugging.

Docker users with minimal images

You can inspect a container's network without adding tools to its image.

Skip if: You are troubleshooting application logic, not networking.

Platform engineers training teams

The documented scenarios give a repeatable path through DNS and latency problems.

Skip if: You need a graphical network monitor.

The problem it solves

Production containers rarely contain tools like tcpdump or mtr, so network problems are hard to inspect. Netshoot brings those tools to the container's namespace on demand.

Strengths

  • Works via Docker, Compose, kubectl debug, throwaway pods or sidecars
  • Includes tcpdump, drill, mtr, trippy and iperf3
  • Debugs without modifying the target container or host
  • kubectl plugin supports pod and node debug sessions

Trade-offs

  • Maintenance is slowing, with no releases in the last year
  • Bridge namespace access needs privileged mode
  • Command-line only, with no GUI

Self-host netshoot

Self-hostable
No (desktop or local app)
Docker image
nicolaka/netshoot

Quick start

docker run -it --net container:<container_name> nicolaka/netshoot

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is netshoot free?

Yes. It is Apache-2.0 licensed.

How do I use it in Kubernetes?

Run kubectl debug with the nicolaka/netshoot image, or start a throwaway pod or sidecar.

Can I debug the host network?

Yes. Run it with the host network option in Docker or hostNetwork in Kubernetes.

Similar tools in Network tools

MyIP

Network tools

Self-hosted IP toolbox for checking leaks, connectivity, DNS and routes

12k 1.3k 5 days ago Thriving AGPL-3.0

Zenmap

Network tools

Graphical front end for the Nmap network scanner, for admins mapping hosts and ports

14k 3k today Slowing GPL-2.0-only

websocat

Network tools

Command-line client and server for WebSockets, for developers who use netcat, curl or

8.8k 334 10 days ago Active MIT

dnscrypt-proxy

Network tools

Local DNS proxy that encrypts your queries with DoH, DNSCrypt and ODoH

14k 1.1k yesterday Thriving ISC

cloudflare-ddns

Network tools

Dynamic DNS updater in Docker that keeps Cloudflare records on your current IP

3k 121 4 days ago Active Apache-2.0

Upsnap

Network tools

Wake-on-LAN web dashboard for homelabs, with scheduling and device scanning

6.5k 256 17 days ago Thriving MIT