docker network ls
docker network inspect bridge | more
docker container run -d --name mynginx0 nginx
docker container inspect mynginx0
docker network create mynetwork1
docker network inspect mynetwork1
docker container run -d --name mynginx1 nginx
docker container inspect --foramt "{{.NetworkSettings.Networks.bridge.IPAddress}}" mynginx1
docker container inspect --format "{{.NetworkSettings.Networks.mynetwork1.IPAddress}}" mynginx1
docker container inspect mynginx1 | grep IPAddress
docker network disconnect mynetwork1 mynginx1
docker container inspect mynginx1 | grep IPAddress
ifconfig
docker network create --subnet 10.1.0.0/24 --gateway 10.1.0.1 mynetwork3
docker network inspect mynetwork3
docker network rm mynetwork1