docker-troubleshooting
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| docker-troubleshooting [2026/10/14 13:26] – created baumi | docker-troubleshooting [2026/10/14 13:33] (current) – baumi | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Network reachability ===== | ===== Network reachability ===== | ||
| - | - Check, if packets reach host | + | ==== Docker Service not reachable from outside the docker host ==== |
| - | - Check, if container is reachable from docker-host | + | |
| - | - Check ip-forwarding (sysctl net.ipv4.ip_forward) | + | |
| - | - Check iptables NAT & access rules | + | |
| - | - Check return route in container | + | |
| - | {{tag> | + | * Check, if packets reach host |
| + | * Check, if container is reachable from docker-host | ||
| + | * Check ip-forwarding (sysctl net.ipv4.ip_forward) | ||
| + | * Check iptables NAT & access rules | ||
| + | * Check return route in container | ||
| + | |||
| + | ==== Netshoot ==== | ||
| + | |||
| + | [[https:// | ||
| + | [[https:// | ||
| + | |||
| + | === Basic Usage === | ||
| + | |||
| + | == Start Container with Network Namespace of a running container == | ||
| + | < | ||
| + | docker run -it --net container:< | ||
| + | </ | ||
| + | |||
| + | == Start Container with Host Network Namespace == | ||
| + | < | ||
| + | docker run -it --net host nicolaka/ | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | {{tag>kb linux docker}} | ||
docker-troubleshooting.1791977213.txt.gz · Last modified: by baumi
