Through the previous study, we have a preliminary understanding of the docker network. In this article, let's actually fight the docker network.
docker network combat
Actual combat docker network, we will explain from the following cases
1: What is a bridge?
2:host
3:none
4:container
The actual combat network types are as follows:
In docker, the network configuration exists in json format, let's take a look at each type of network configuration information
Let's take a look at the bridge type of network first
Use the command: docker network inspect bridge
View host type network
Use the command: docker network inspect host
none type network
Command used: docker network inspect none