====== Docker - Networking - Create a Bridge Network ======
User-defined bridge networks provide better isolation and enable advanced networking features like service discovery.
----
===== Create a user-defined bridge network =====
docker network create my-custom-network
----
===== Run containers on the custom network =====
docker run -d --name container1 --network my-custom-network my-image
docker run -d --name container2 --network my-custom-network my-image
----
===== Create an IPv6-only bridge network =====
To skip IPv4 address configuration on the bridge and in its containers, create the network with option **--ipv4=false**, and enable IPv6 using **--ipv6**.
docker network create --ipv6 --ipv4=false v6net
**NOTE:** IPv4 address configuration cannot be disabled in the default bridge network.