User Tools

Site Tools


docker:networking:create_a_bridge_network

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki