infrastructure//Docker//network
A Docker network is a virtual network that Docker creates isolated from the host LAN, with its own IP range (its subnet, from which Docker assigns each container its IP), so that containers can reach each other. `--network mi-red` connects a container to a named network.
A Docker network is a virtual network that Docker creates isolated from the host LAN, with its own IP range (its subnet, from which Docker assigns each container its IP), so that containers can reach each other. --network mi-red connects a container to a named network.
A built-in DNS lets containers resolve each other by name within the same network (nodo1 resolves to its IP).
An address such as http://nodo-besu:8545 therefore works inside Docker, and it is the most robust way for containers to talk to each other.
A Docker network is not a blockchain network: Docker is the transport layer (the road), the blockchain the application layer (the club rules).