
Put containers on a user-defined bridge network so they resolve each other by name, contrast it with the default bridge, join a second network, disconnect one, and remove a network only once it is empty.
Publish container ports to the host on fixed, daemon-chosen and loopback-only host ports, read the mappings back, see a second container fail on a taken host port, and reach unpublished ports across a shared network.
Run containers on the none, host and internal network configurations and on separate bridges, and prove what each one can and cannot reach.
Lay out a three-tier app on user-defined bridges: a dual-homed API, an internal backend network with no egress, a frontend published on loopback only, plus a no-network job and a host-network probe; then prove every reachability rule, cut the API off its database and reconnect it, and remove a network only once it is empty.