User Tools

Site Tools


docker-troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docker-troubleshooting [2026/10/14 13:26] – created baumidocker-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>linux docker}}+  * 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://github.com/nicolaka/netshoot|Repository]] 
 +[[https://hub.docker.com/r/nicolaka/netshoot|Image]] 
 + 
 +=== Basic Usage === 
 + 
 +== Start Container with Network Namespace of a running container == 
 +<code> 
 +docker run -it --net container:<container_name> nicolaka/netshoot 
 +</code> 
 + 
 +== Start Container with Host Network Namespace == 
 +<code> 
 +docker run -it --net host nicolaka/netshoot 
 +</code> 
 + 
 + 
 + 
 + 
 + 
 +{{tag>kb linux docker}}
docker-troubleshooting.1791977213.txt.gz · Last modified: by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki