Back to skills
SKILL.md
Docker Networking Troubleshoot
ASecurityUse when debugging Docker network connectivity issues.
- 2 stars
- 0 votes
- 0 copies
- 4 views
- Added September 10, 2026
Security analysis
100/100npx -y skills add LoopyLuci/Skills --skill docker-networking-troubleshoot --agent claude-codeAre you the author of Docker Networking Troubleshoot?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/loopyluci-docker-networking-troubleshoot)---
name: docker-networking-troubleshoot
description: "Use when debugging Docker network connectivity issues."
category: docker
tags: [docker, networking, troubleshooting]
---
# Docker Networking Troubleshoot
Diagnosing and fixing Docker network issues.
## Diagnostics
```powershell
docker network inspect mynet
docker inspect myapp --format '{{json .NetworkSettings}}' | ConvertFrom-Json
docker exec myapp ping google.com
docker exec myapp nslookup db
docker port myapp
netstat -ano | Select-String ":8080"
```
## DNS Fix
User-defined bridge resolves by name:
```yaml
services:
app: { networks: [mynet] }
db: { networks: [mynet] }
networks: { mynet: { driver: bridge } }
```
## Port Conflicts
```powershell
netstat -ano | Select-String ":80"
docker run -p 8080:80 nginx # different host port
```
## Custom DNS
```yaml
services:
app:
dns: [8.8.8.8, 1.1.1.1]
dns_search: example.com
```
## Pitfalls
- Default bridge has no DNS by name -- use user-defined bridge
- --link is deprecated; use networks
- VPNs break Docker DNS -- set static DNS in daemon.json
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.