docker:networking:create_a_bridge_network
Table of Contents
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
docker/networking/create_a_bridge_network.txt · Last modified: 2025/07/25 15:04 by peter