In this article, We will talk about the network of docker.
There're have five types of docker network.
一、Bridge
The default network of docker network type.
You can use :
docker network ls
docker network create --driver bridge my_bridge_network
##The CIDR will build by docker itself.
You will see:
#It's working.
#And rember the NETWORK ID.
also we can see the virtual network in our host.
ip a
if we create