Greetings! When we talked about Docker, we said that containers are isolated. Then how do we communicate with our containers. Say we are using MySQL database. It is not useful if we can't access it. Docker has a network concept. It has several network drivers to work with. Depending on how do we want out container to behave, we can select our network. This help us to communicate container with a container or container with host. Network commands summary docker network ls - list available networks docker network create - create a network docker network rm - remove a network docker network inspect - inspect a network docker network connect - connect container to a network docker network disconnect - disconnect container from a network Docker network drivers bridge - This is the default network. When the Docker daemon service starts, it configures a virtual bridge names docker0. When we don't specify the network this is the one docker uses. Docker creates ...
May all beings be happy, be well, be peaceful, and be free