DockerSelf-Hosting

netshoot with Docker: Find Out Why Your Containers Cannot Talk to Each Other (Linux, Windows, Mac)

Before you start

  • 19 min read

Boxes marked Run in terminal are what you type; plain text explains why. Check what you need first

What you get in one minute#

netshoot is a free, open-source container full of network tools (dig, curl, tcpdump, iperf3, mtr, nmap and about fifty more) that you start for a few minutes next to a misbehaving container, so you can see why two containers cannot talk to each other without installing anything in your real apps.

netshoot official logo

Logo: netshoot project (github.com/nicolaka/netshoot, img/netshoot.jpg at 541bdad), Apache-2.0; converted to PNG and resized by DIY Lab Hub.

Most app images are small on purpose: no curl, no dig, no tcpdump. When the app says "connection refused", you are blind. netshoot joins the network of the container you are debugging, sees the same interfaces, routes and DNS settings, and lets you ask questions with real tools. When you exit, it is deleted.

WhatValue (official sources, read 3 December 2026)
Current versionv0.17, git tag of 23 November 2026 (previous: v0.16, 1 July 2026). The project publishes tags, not GitHub releases
Image to pinnicolaka/netshoot:v0.17 (Docker Hub; amd64 and arm64). Also on ghcr.io/nicolaka/netshoot
VariantsDefault is Alpine 3.24. v0.17-debian is the same toolset on Debian 13
Time neededAbout 30 minutes for all steps (our estimate, not measured)
SizeAbout 166 MB compressed for amd64, about 258 MB for the Debian variant (Docker Hub API)
PortsNone. It is a command-line toolbox with no web page
LicenceApache-2.0 (the bundled tools keep their own licences)
Official docsgithub.com/nicolaka/netshoot

At a glance:

  • Key trick: --network container:<name> puts netshoot inside another container's network.
  • What it checks: DNS (Docker's resolver at 127.0.0.11), HTTP, TLS, open ports, packet captures, speed and the route to a host.
  • Where it runs: Linux, Windows and Mac through Docker. Host-network mode differs on Docker Desktop (Step 7).
  • Related: Dozzle for logs, Dive for image contents, Trivy for scans. netshoot is for the network.

How it fits together#

You start netshoot with the name of the container you suspect. Docker gives the new container the same network namespace, so the tools run "from inside" your app.

netshoot flow: your app container has its own network, the netshoot container started with --network container:my-app joins that network, and from there you check Docker DNS at 127.0.0.11 with dig and nslookup, other containers with curl, nc and iperf3, and the LAN and internet with mtr, tcpdump and openssl s_client

Drawn for this guide from the official README and Docker docs.

A network namespace is the private set of network settings a container gets: interfaces, routes, ports and localhost. Two cases, and the rest of this page depends on them:

  • Joined with --network container:<name>: netshoot shares that container's localhost. curl http://127.0.0.1:80 reaches the app itself.
  • Only attached to the same Compose network: netshoot has its own localhost. It reaches the app by service name (http://web:80), like any peer.

Before you start#

Note: every name, address and path on this page is a dummy example (lab-web, example.com, 192.0.2.10). Replace them with your own. 192.0.2.0/24 is reserved for documentation, so it never points at a real machine.

SystemWhat to have
LinuxDocker Engine and the Compose plugin
WindowsDocker Desktop (Linux containers), PowerShell
MacDocker Desktop

netshoot is built for linux/amd64 and linux/arm64 only: no 32-bit ARM (arm/v7) and no Windows containers (official README).

Run in terminalbash
docker --version
docker compose version

Checklist:

  • [ ] Both commands print a version
  • [ ] You know the container to debug (docker ps), or use our practice stack (Step 1)
  • [ ] You own the network you are about to probe

Tested by DIY Lab Hub: not yet. Commands come from the official README, the Docker docs and the Docker source (3 December 2026). We ran nothing on a real machine, so we show no real output, only its shape.

Tip: On Windows, type curl.exe, not curl. In PowerShell curl is an alias of another command. Inside netshoot (a Linux shell) plain curl is right.

Step 1: Create a practice stack#

We need something to debug. Everything lives under ~/docker_volumes/netshoot. The stack is one nginx web server on its own Compose network, plus a netshoot sidecar that stays off until you ask for it (Step 8). The name: line fixes the network name to netshoot-lab_default.

Linux#

Run in terminalbash
mkdir -p ~/docker_volumes/netshoot/{data/captures,config,logs,backups}
cd ~/docker_volumes/netshoot
cat > compose.yaml << 'EOF'
name: netshoot-lab

services:
  web:
    image: nginx:1.27.0-alpine
    container_name: lab-web
    restart: unless-stopped
    ports:
      - "127.0.0.1:8080:80"

  netshoot:
    image: nicolaka/netshoot:v0.17
    container_name: lab-netshoot
    profiles: ["debug"]
    network_mode: "service:web"
    depends_on:
      - web
    command: ["tail", "-f", "/dev/null"]
    volumes:
      - ./data/captures:/captures
EOF
docker compose up -d

Windows (PowerShell)#

Codepowershell
$base = "$HOME\docker_volumes\netshoot"
foreach ($d in "data\captures","config","logs","backups") {
  New-Item -ItemType Directory -Force "$base\$d" | Out-Null
}
Set-Location $base
@'
name: netshoot-lab

services:
  web:
    image: nginx:1.27.0-alpine
    container_name: lab-web
    restart: unless-stopped
    ports:
      - "127.0.0.1:8080:80"

  netshoot:
    image: nicolaka/netshoot:v0.17
    container_name: lab-netshoot
    profiles: ["debug"]
    network_mode: "service:web"
    depends_on:
      - web
    command: ["tail", "-f", "/dev/null"]
    volumes:
      - ./data/captures:/captures
'@ | Set-Content -Encoding ascii compose.yaml
docker compose up -d

Mac (Terminal)#

Same commands as Linux.

Notes: 127.0.0.1:8080:80 publishes nginx on the host's loopback only (host port left, container port right). profiles keeps the sidecar off by default. network_mode: "service:web" shares the network of web. tail keeps the sidecar alive, because the image's default command zsh exits without a terminal.

Check it worked. docker compose ps lists lab-web as running. curl -I http://127.0.0.1:8080 (Windows: curl.exe) answers HTTP/1.1 200 OK (the shape nginx documents; we did not run it). docker network ls lists netshoot-lab_default.

Step 2: Pull a pinned netshoot and check its tools#

Never type latest for debugging you want to repeat: the tag moves. The project's SECURITY.md says to pin a digest for anything beyond a throwaway session.

Linux#

Run in terminalbash
docker pull nicolaka/netshoot:v0.17
docker run --rm nicolaka/netshoot:v0.17 netshoot-smoke
docker image inspect nicolaka/netshoot:v0.17 --format '{{index .RepoDigests 0}}'

Windows (PowerShell)#

Run in terminalpowershell
docker pull nicolaka/netshoot:v0.17
docker run --rm nicolaka/netshoot:v0.17 netshoot-smoke
docker image inspect nicolaka/netshoot:v0.17 --format '{{index .RepoDigests 0}}'

Mac (Terminal)#

Same commands as Linux.

netshoot-smoke is a script the Dockerfile copies into the image. In the source it prints ok <tool> for dig, curl, tcpdump, iperf3, ss, mtr, nmap, openssl and others, or missing <tool>. The last command prints the digest (nicolaka/netshoot@sha256:...) to rerun that exact image later.

Check it worked. The smoke test ends without a missing line.

Step 3: Look from inside the app's network#

This is the main trick. Replace lab-web with your own container name. The target must be running.

Linux#

Run in terminalbash
docker run --rm -it --network container:lab-web nicolaka/netshoot:v0.17

Windows (PowerShell)#

Run in terminalpowershell
docker run --rm -it --network container:lab-web nicolaka/netshoot:v0.17

Mac (Terminal)#

Same commands as Linux.

You are now in a zsh prompt inside netshoot. Run these one at a time:

Run in terminalbash
ip addr
ip route
cat /etc/resolv.conf
ss -lnt
curl -sI http://127.0.0.1:80/

ip addr and ip route show the container's interfaces and where traffic goes, resolv.conf its DNS server (on a custom network Docker's resolver 127.0.0.11), ss -lnt which TCP ports the app really listens on, and curl asks the app on its own localhost. The Docker docs show the same idea with Redis and redis-cli -h 127.0.0.1. Type exit to leave; the container is removed.

Check it worked. ss -lnt shows a listener on port 80 and curl prints a status line. If ss shows a port on 127.0.0.1 only, other containers cannot reach it: the app must listen on 0.0.0.0.

Tip: Do not add -p, --dns, --hostname or --add-host to a container: command. Docker refuses -p with conflicting options: port publishing and the container type network mode. Publish the port on the app instead.

Step 4: Test names and DNS on the Compose network#

Now the other view: netshoot as a separate peer on the app's network. It has its own localhost, so we test the app by name.

Linux#

Run in terminalbash
docker network ls
docker run --rm -it --network netshoot-lab_default nicolaka/netshoot:v0.17

Windows (PowerShell)#

Run in terminalpowershell
docker network ls
docker run --rm -it --network netshoot-lab_default nicolaka/netshoot:v0.17

Mac (Terminal)#

Same commands as Linux.

Inside netshoot:

Run in terminalbash
dig web
nslookup web
dig @127.0.0.11 web A
dig @127.0.0.11 example.com A
curl -v --connect-timeout 5 http://web:80/
  • dig web returns an IP: Docker's DNS knows the name. NXDOMAIN or a timeout means the containers sit on different networks, or the name is wrong.
  • dig @127.0.0.11 ... asks Docker's embedded DNS directly. It answers names on that network and forwards the rest to the host's DNS servers. If container names work but example.com fails, your host's upstream DNS is the problem.
  • curl uses the container port (right side of 8080:80). The published host port plays no part between peers.

Docker's docs say containers on the default bridge reach each other by IP only; user-defined networks add names. Compose creates one for you, but a bare docker run lands on the default bridge.

Check it worked. dig web shows an ANSWER SECTION with one address and curl -v prints HTTP/1.1 200 OK (shape only).

Step 5: Capture packets and save a pcap file#

A packet capture shows the actual bytes: resets, wrong ports, a missing reply. Start it in the app's network, then trigger a request from a second terminal. -c 20 stops after 20 packets.

Linux#

Terminal 1:

Run in terminalbash
cd ~/docker_volumes/netshoot
docker run --rm -it --network container:lab-web \
  -v "$PWD/data/captures:/captures" \
  nicolaka/netshoot:v0.17 \
  tcpdump -i any -nn -c 20 -w /captures/web.pcap 'tcp port 80'

Terminal 2 (makes traffic), then read the file:

Run in terminalbash
docker run --rm --network netshoot-lab_default nicolaka/netshoot:v0.17 curl -s -o /dev/null http://web:80/
docker run --rm -v "$PWD/data/captures:/captures" nicolaka/netshoot:v0.17 tcpdump -nn -r /captures/web.pcap

Windows (PowerShell)#

Terminal 1:

Codepowershell
Set-Location "$HOME\docker_volumes\netshoot"
docker run --rm -it --network container:lab-web `
  -v "${PWD}/data/captures:/captures" `
  nicolaka/netshoot:v0.17 `
  tcpdump -i any -nn -c 20 -w /captures/web.pcap 'tcp port 80'

Terminal 2, then read the file:

Run in terminalpowershell
docker run --rm --network netshoot-lab_default nicolaka/netshoot:v0.17 curl -s -o /dev/null http://web:80/
docker run --rm -v "${PWD}/data/captures:/captures" nicolaka/netshoot:v0.17 tcpdump -nn -r /captures/web.pcap

Mac (Terminal)#

Same commands as Linux.

The README uses the same pattern (tcpdump -i eth0 -w ...). We use -i any so no interface is missed and -nn to keep numbers. Docker's default capabilities already include CAP_NET_RAW (Docker source), which capture needs, so no --cap-add and no --privileged. Platforms that drop it need it back (see Common mistakes). Inside netshoot, termshark -r /captures/web.pcap opens the file. On Linux the file belongs to root: sudo chown "$USER" data/captures/web.pcap.

Check it worked. Terminal 1 ends after 20 packets (or press Ctrl-C) and web.pcap exists. The read command prints lines with Flags [S], Flags [S.] and so on, the TCP handshake.

Tip: A pcap holds everything that crossed the network, including passwords sent without TLS. Keep it out of Git and delete it when done.

Step 6: Speed, route, ports and TLS#

These run in a netshoot started with --network netshoot-lab_default (Step 4) unless noted. They run inside the Linux container, so the commands are the same on every system.

Linux#

Throughput with iperf3 needs a server and a client in two terminals (the README's performance example):

Run in terminalbash
docker run --rm --name lab-iperf --network netshoot-lab_default nicolaka/netshoot:v0.17 iperf3 -s
docker run --rm --network netshoot-lab_default nicolaka/netshoot:v0.17 iperf3 -c lab-iperf -t 10

Add -R to test the other direction. Two containers on one host measure Docker's local path, not your LAN. For the LAN, run iperf3 -s on a second computer and point the client at it (dummy 192.0.2.10).

Route and delay, open ports, TLS (inside any netshoot; scan only machines you own or may test):

Run in terminalbash
mtr --report --report-cycles 10 example.com
nc -vz web 80
nmap -Pn -p 80,8080 web
nmap -Pn -p 22,80,443 192.0.2.10
openssl s_client -connect example.com:443 -servername example.com </dev/null | openssl x509 -noout -subject -issuer -dates

mtr is from the README: read the destination line first; a silent router in the middle is no proof of a fault. 192.0.2.10 is a dummy. -servername sends the name (SNI); without it a server with many names may show the wrong certificate.

Windows (PowerShell)#

Same commands as Linux. PowerShell only starts docker; the tools run inside the container.

Mac (Terminal)#

Same commands as Linux.

Check it worked. iperf3 ends with a summary, nc -vz web 80 reports the port open, and the TLS line prints a subject, an issuer and two dates.

Step 7: Use the host network (and Docker Desktop's limits)#

--network host puts netshoot in the host's network. Docker ignores -p in this mode and prints this warning if you add it:

File contenttext
WARNING: Published ports are discarded when using host network mode

Linux#

Run in terminalbash
docker run --rm -it --network host nicolaka/netshoot:v0.17
ss -lntp
ip addr

You see the machine's real interfaces and every listening port. Process names may be empty: netshoot shares the network, not the host's process list.

Windows (PowerShell)#

Docker Desktop runs the engine in a Linux virtual machine, so container interfaces are not your Windows network cards. Host networking works from Docker Desktop 4.34 on, once enabled: Settings > Resources > Network > Enable host networking > Apply and restart. Docker's example listens on port 8000:

Run in terminalpowershell
docker run --rm -it --net=host nicolaka/netshoot nc -lkv 0.0.0.0 8000

In a second PowerShell window:

Codepowershell
Test-NetConnection localhost -Port 8000

Mac (Terminal)#

Same Docker Desktop setting (4.34 or newer), then the docs' example:

Run in terminalbash
docker run --rm -it --net=host nicolaka/netshoot nc -lkv 0.0.0.0 8000
nc localhost 8000

Limits of Docker Desktop's host mode (Docker docs): it works on layer 4 only (TCP and UDP), a container cannot bind to the host's IP addresses, it does not work with Enhanced Container Isolation, and it is for Linux containers only. So on Windows and Mac, netshoot suits container problems (Steps 3 to 6) and reaching your computer's services over localhost, but it is not a Wireshark replacement for your real network card. We did not test host mode there.

Check it worked. On Linux ss -lntp shows the host's own listeners. On Desktop nc localhost 8000 connects and what you type appears in the container terminal.

Step 8: Keep a sidecar in Compose#

A sidecar is a netshoot container that Compose starts inside the app's network. It is already in the Compose file from Step 1, off until you ask for the debug profile.

Linux#

Run in terminalbash
cd ~/docker_volumes/netshoot
docker compose --profile debug up -d netshoot
docker compose --profile debug exec netshoot ss -lnt
docker compose --profile debug exec netshoot curl -sI http://127.0.0.1:80/
docker compose --profile debug rm -sf netshoot

Windows (PowerShell)#

Codepowershell
Set-Location "$HOME\docker_volumes\netshoot"
docker compose --profile debug up -d netshoot
docker compose --profile debug exec netshoot ss -lnt
docker compose --profile debug exec netshoot curl -sI http://127.0.0.1:80/
docker compose --profile debug rm -sf netshoot

Mac (Terminal)#

Same commands as Linux.

127.0.0.1:80 reaches nginx because the namespace is shared. Publish ports on web, never on the sidecar. This follows the project's own Compose example (configs/netshoot-compose.yaml) and issue 79. The last command removes the sidecar.

Check it worked. After up, ss -lnt shows port 80; after rm, only lab-web remains in docker compose ps.

Tip: Do not keep the sidecar running "for later". The project's SECURITY.md says not to run netshoot as a permanent sidecar. We left out restart: on purpose.

Put it behind HTTPS with Traefik? You do not need to#

netshoot has no web page and publishes no port, so there is nothing to put behind HTTPS. It does help when a proxy shows 502 or 404: run it on the proxy's network and test the app from there.

Run in terminalbash
docker run --rm -it --network proxy nicolaka/netshoot:v0.17 curl -sv http://<service-name>:<container-port>/

proxy is the shared network name from our Traefik guide; the other two values are yours.

With Traefik#

No labels are needed. If that curl works but the public name fails, the fault is in the router rule, entrypoint or certificate.

Without Traefik: Caddy#

No reverse_proxy line is needed for netshoot itself. To debug a Caddy proxy, test the app address from netshoot first, then the reverse_proxy target. See our Caddy guide.

Security and testing#

netshoot is a kitchen-sink debug image. Its SECURITY.md calls it a throwaway image and warns that scanners will find many CVEs. Treat it like a power tool, and scan only machines you own.

ControlHow
Short sessions--rm, exit when done, never leave it running
Pin the versionnicolaka/netshoot:v0.17, and its digest for sensitive work (Step 2)
What it seesA joined container's traffic, or on Linux with --network host all host traffic. Captures can hold secrets
No --privilegedNot needed for any step here. The README's nsenter recipe needs it, and SECURITY.md warns it widens access. We do not teach it
Docker socketThe README's ctop example mounts /var/run/docker.sock, which is root-level power. We skip it; see our socket proxy guide
Image scansExpect findings (issue 198, issue 217); Trivy shows them

Quick tests:

Run in terminalbash
cd ~/docker_volumes/netshoot
docker compose ps
docker run --rm nicolaka/netshoot:v0.17 netshoot-smoke

Kubernetes, in two commands#

The README shows an ephemeral debug container in a running pod, and a throwaway pod:

Run in terminalbash
kubectl debug <pod> -it --image=nicolaka/netshoot
kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot

Pin the tag there too. Ephemeral containers need permission on pods/ephemeralcontainers (Kubernetes docs). The separate kubectl-netshoot plugin wraps these. We tested no Kubernetes command.

Common mistakes#

MistakeWhy it happensDo this instead
curl http://localhost:8080 from a netshoot that only joined the Compose networkA separate container has its own localhostUse http://web:80 (service name, container port), or share the namespace with --network container:<name>
-p 8080:80 on a container: or host commandThose modes have no ports of their own: conflicting options: port publishing and the container type network mode, or Published ports are discarded when using host network modePublish ports on the app
cannot join network namespace of a non running container (Docker source)The target stopped or crasheddocker ps -a, fix the app, run netshoot again
A bare docker run and names that do not resolveThe default bridge has no namesUse --network <name> of a Compose network
tcpdump: eth0: You don't have permission to capture on that device (socket: Operation not permitted) (issue 80)OpenShift or Kubernetes policy removed capabilitiesAllow NET_RAW (and NET_ADMIN if needed) in the pod. Plain Docker already has NET_RAW
ping: socket: Operation not permitted (issue 137)The sidecar dropped NET_RAW and NET_ADMINTest with curl -v or nc -vz. A failed ping alone proves little
no matching manifest for linux/arm/v7 on a Raspberry Pi (issue 119, open)A 32-bit OS reports arm/v7, which is not builtdocker version --format '{{.Server.Arch}}', then use a 64-bit OS
Bind for 0.0.0.0:443 failed: port is already allocated (Moby issue 32318)Another container or process holds the host portdocker ps and ss -lntp on the host; netshoot's ss shows the container's ports, not the host's
$(pwd) in PowerShell for the capture folderA Bash habit"${PWD}/data/captures:/captures"
AI assistants: curl http://localhost:8080 from a netshoot on a Compose network, "to test the other service's published port"Joining a network is not sharing a container's network stackweb:80, or --network container:<name>
AI assistants: "run docker exec in the app and apk add tcpdump"It changes the app container and often fails (no root, a Debian image)Leave the app alone; start netshoot next to it
AI assistants: docker run nicolaka/netshoot with no -it, or --privileged "to be safe", or the latest tagThe default command is zsh, which exits without a terminal; privileges feel like a cure-it, no --privileged, tag v0.17

Tip: Ask which it is: the name, the port, the listener or the path? dig, then curl -v, then ss -lnt, then tcpdump answers in that order and each step is cheap.

Tip: When two containers "cannot talk", run docker inspect <name> --format '{{json .NetworkSettings.Networks}}' for both. If they share no network, no tool will fix it; attach them to the same network.

Troubleshooting#

ProblemSolution
The netshoot shell exits at onceAdd -it to docker run
No such containerCheck docker ps; the target must exist and run
dig web finds nothingdocker inspect <name>: are both containers on the same user-defined network?
Name works, port failsss -lnt in the app's namespace: right port, listening on 0.0.0.0?
Capture file or volume path errorsAdd -v (Step 5); on Windows run from the netshoot folder and use "${PWD}/..."
Need more detaildocker logs lab-web --tail 100, docker compose ps, docker inspect lab-web

Exact error texts#

  • tshark: Couldn't run /usr/bin/dumpcap in child process: Operation not permitted (issue 90): the reporter fixed it with chown root:root /usr/bin/dumpcap. The Dockerfile at v0.17 ends with that same line, so a current image should not need it. We did not test tshark.
  • ping: => missing cap_net_raw+p capability or setuid? (issue 137): a commenter said newer runtimes allow unprivileged ping through a sysctl, older ones do not.
  • curl: (6) Could not resolve host: www.google.com (Moby issue 40294, open): one of eleven containers failed, the thread names no cause. Compare /etc/resolv.conf and try dig @127.0.0.11 name.
  • Warning: container debugger-... has runAsNonRoot and image has non-numeric user (root), cannot verify user is non-root (issue 163, open): a commenter's workaround is kubectl debug --custom with JSON setting runAsNonRoot to false. Read your policy first.

Known bugs (open, December 2026)#

Issues 119 (no arm/v7), 163 (non-root pods) and 198 / 217 (CVE findings). We found nothing that stops a normal Docker install of v0.17.

Updates and backups#

Update netshoot. There is no data to migrate. Read the tags, change the tag in compose.yaml and in your commands, then:

Run in terminalbash
cd ~/docker_volumes/netshoot
docker compose pull
docker run --rm nicolaka/netshoot:<new-tag> netshoot-smoke

v0.17's own change was an Alpine bump from 3.24.3 to 3.24.4 (commit message). Docker Hub's latest matched v0.17 on 3 December 2026, but we still pin.

What to back up. compose.yaml and any pcap files you keep. Delete old captures to save disk.

Linux and Mac#

Save as ~/docker_volumes/netshoot/backup.sh:

File contentbash
#!/usr/bin/env bash
set -euo pipefail
base="$HOME/docker_volumes/netshoot"
out="$base/backups/netshoot-$(date +%F).tar.gz"
tar -czf "$out" -C "$base" compose.yaml data
chmod 600 "$out"

Run chmod 700 on it and add this line with crontab -e (on a Mac write /Users/<your-user>/...):

File contenttext
0 3 * * * /home/<your-user>/docker_volumes/netshoot/backup.sh

Windows (PowerShell)#

Save as $HOME\docker_volumes\netshoot\backup.ps1:

Codepowershell
$base = "$HOME\docker_volumes\netshoot"
$out = "$base\backups\netshoot-$(Get-Date -Format yyyy-MM-dd).tar.gz"
tar.exe -czf $out -C $base compose.yaml data

In Task Scheduler run powershell.exe -NoProfile -File <full-path-to-the-script> daily at 03:00.

Restore test#

Run in terminalbash
mkdir restore-test && tar -xzf netshoot-<date>.tar.gz -C restore-test
cd restore-test && docker compose config -q

No output means the file is valid. For real app data see docker-volume-backup.

Performance and resources#

The docs give no minimum RAM or CPU and we measured none. The image is big (about 166 MB compressed for amd64) because of its tools. Watch it with docker stats lab-netshoot. Tuning is in the tools: iperf3 -t, tcpdump -c, mtr --report-cycles. For long-term monitoring see Beszel or lazydocker.

FAQ#

Why do I not see the app's files or processes? --network container: shares only the network. Filesystem and process list stay separate.

Do I need --cap-add NET_RAW for tcpdump? Not with plain Docker: NET_RAW is in its default capability list. Add it only where a platform removed it.

Alpine or Debian image? Start with the default Alpine one. v0.17-debian is the same toolset on glibc and larger, for when a tool behaves differently on musl.

Does it work with Podman or Colima? The README does not mention them and we did not test. See our Colima and Podman guides.

Sources#

Checked against the official docs on 2026-12-03. Nothing was run on a real machine by DIY Lab Hub; the commands come from the README, the Docker docs, the Docker source and the issues above.

Try one of these