Differences between revisions 2 and 3
Revision 2 as of 2023-04-04 19:35:12
Size: 762
Comment:
Revision 3 as of 2023-04-04 19:43:19
Size: 917
Comment:
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:

Furthermore, the defualt network's use of IPv6 mandatorily matches the `dockerd(8)` configuration. See [[Docker/Configuration#IPv6|here]] to enable it.

Docker Bridge Networks

Bridge networks are a type of networks used by dockerd(8).


Default Network

By default, containers attach to bridge networks. See here to change that.

If a bridge network is not specified, the default network is used. This network is special in that there is no name resolution; the only way to communicate between containers is their ephemeral IP addresses.

Furthermore, the defualt network's use of IPv6 mandatorily matches the dockerd(8) configuration. See here to enable it.


Creating Networks

Custom bridge network can be created and destroyed like:

docker network create my-net
docker network rm my-net

A container can be created on a network by specifying the --network option.


CategoryRicottone

Docker/BridgeNetworks (last edited 2023-04-04 23:03:31 by DominicRicottone)