Steps
- Create a temporary user-defined network.
- Start two named test containers without publishing a host port.
- Resolve one container by name from the other and record the result.
- Stop and remove both containers and the network.
Verify and recover
Internal resolution works while the host has no published route. If it fails, inspect names and network membership before changing exposure.