docker:networking:inspect_a_network
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
docker:networking:inspect_a_network [2025/07/25 14:37] – peter | docker:networking:inspect_a_network [2025/07/25 19:38] (current) – peter | ||
---|---|---|---|
Line 57: | Line 57: | ||
* Do not confuse this with the " | * Do not confuse this with the " | ||
+ | |||
+ | |||
+ | * 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 **" | ||
+ | * 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, | ||
+ | * **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. | ||
+ | |||
</ | </ | ||
docker/networking/inspect_a_network.1753454257.txt.gz · Last modified: 2025/07/25 14:37 by peter