(작성 중)
docker는 기본적으로 default bridge 네트웍을 이용함 (docker0)
apt install bridge-utils
ip link
4: docker0: mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 02:42:5d:b8:21:2a brd ff:ff:ff:ff:ff:ff
brctl show docker0
bridge name\tbridge id\t\tSTP enabled\tinterfaces
docker0\t\t8000.02425db8212a\tno
docker ps -a
docker start 컨테이너ID
docker attach !$
ip link
4: docker0: mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 02:42:5d:b8:21:2a brd ff:ff:ff:ff:ff:ff
28: vetha8a6ad3@if27: mtu 1500 qdisc noqueue master docker0 state UP mode DEFAULT group default
link/ether 32:98:37:fb:22:11 brd ff:ff:ff:ff:ff:ff link-netnsid 0
brctl show docker0
bridge name\tbridge id\t\tSTP enabled\tinterfaces
docker0\t\t8000.02425db8212a\tno\t\tvetha8a6ad3
docker network ls
NETWORK ID NAME DRIVER SCOPE
1c3ce011bd51 bridge bridge local
47d78bf639df host host local
453d373e4ce8 none null local
docker network create
docker network rm