User Tools

Site Tools


docker:networking:inspect_a_network

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
docker:networking:inspect_a_network [2025/07/25 14:37] peterdocker:networking:inspect_a_network [2025/07/25 19:38] (current) peter
Line 57: Line 57:
  
   * Do not confuse this with the "bridge" driver.   * Do not confuse this with the "bridge" driver.
 +
 +
 +  * This shows various network-related fields like Gateway, IPAddress, and NetworkID.
 +
 +    * **Gateway** - The gateway is essentially the door through which a container can reach external networks, including the host machine or even the internet.
 +      * In most Docker setups, the default gateway for containers is **"172.17.0.1"**, which refers to the bridge network created by Docker.
 +      * Think of the gateway as the router for the container — it helps route traffic from the container to external resources.
 +      * When the container sends a request outside of its local network, the gateway acts as the intermediary, forwarding that request.
 +    * **IPAddress** - The IP address is the unique identifier assigned to each container within a specific Docker network.
 +      * This address allows the container to communicate with other containers in the same network.
 +    * **NetworkID** - The NetworkID is a unique identifier that represents the network to which the container is connected.
 +      * Docker automatically assigns this long string of characters as a network ID to distinguish between different networks.
 +
 </WRAP> </WRAP>
  
docker/networking/inspect_a_network.1753454257.txt.gz · Last modified: 2025/07/25 14:37 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki