Open choi3179 opened 6 months ago
$ sudo docker network connect pd24-bridge serv-a
$ sudo docker network connect pd24-bridge serv-b
$ sudo docker network connect pd24-bridge lb
$ sudo docker network inspect pd24-bridge
[
{
"Name": "pd24-bridge",
"Id": "8f7ab3cdb03d9116c155a488512c814e1cc018ad8c3e6d144d9afa4bab1c600f",
"Created": "2024-02-14T11:51:59.382107089+09:00",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": {},
"Config": [
{
"Subnet": "172.18.0.0/16",
"Gateway": "172.18.0.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"214407e41f7754e6ea574d9b5e506135dfad1dbb52e977d77c4cd3f7e7fd681f": {
"Name": "serv-b",
"EndpointID": "f7648524355ae0a84f48894016a41985ab802ecbcd9d3c980ee39293f351593c",
"MacAddress": "02:42:ac:12:00:03",
"IPv4Address": "172.18.0.3/16",
"IPv6Address": ""
},
"5a0f518860b2da4fd141310200d24226e0bac0eb22530779e95e79a502fc3541": {
"Name": "serv-a",
"EndpointID": "efb242b7f0ce03410dcc98abf28b3b0acbbf17fe600481fd434c1ccd0282c91e",
"MacAddress": "02:42:ac:12:00:02",
"IPv4Address": "172.18.0.2/16",
"IPv6Address": ""
},
"d1c596915603f6d86b859e0e417f111e97a837c7932aec338e4cfe3df6860d93": {
"Name": "lb",
"EndpointID": "19d1780f3f0bb33e0d4a47ee3f28ce22190770636ffa08d215b1ddadb5297097",
"MacAddress": "02:42:ac:12:00:04",
"IPv4Address": "172.18.0.4/16",
"IPv6Address": ""
}
},
"Options": {},
"Labels": {}
}
]