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…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store