Docker
Note:Docker Network - 網路模型 Network type that we can assign to container
bash
docker run --network={type} ...
none
: Create a new network namespace and no relation with host
's network. host
: Use eth0
straightforward. Share same network model with host. bridge
: Create a new network namespace Create a Linux Bridge in host Use veth
to put them together