If you don’t understand the docker network mode, please check the four Docker network modes
One, the default configuration
Default network: When docker is installed, it will automatically create 3 networks, which can be viewed through the docker network command, as shown in the following figure:
Docker uses the docker network command to configure the network
Second, detailed explanation of docker network command
1. Help command
docker network --help
2. View the three default networks of docker
docker network ls
3. Create a custom network, if not specified, the default creation type is bridge type
docker network create 自定义network名
4. Delete the custom network
docker network rm 自定义networkID