Learn Docker:Network access (6/6)
In this story, we will explore how network is managed with Docker, especially how to use the bridge network. We will show how to create an user-defined bridge network and how to access to containers with their names.
Network management
To manage Docker network, use docker network
.
To list all your networks:
docker network ls
The output is:
NETWORK ID NAME DRIVER SCOPE
1142e55dff35 bridge bridge local
779d2aa44feb…