티스토리 뷰

공부

[docker] bridge vs host

승가비 2022. 9. 5. 10:22
728x90

https://docs.docker.com/network/bridge/

 

Use bridge networks

 

docs.docker.com

https://docs.docker.com/network/host/

 

Use host networking

 

docs.docker.com

FeatureBridgeHost

Driver The Bridge network is provided by the Bridge driver The host network is provided by the host driver.
Default bridge is the default network and provided by a bridge driver Host does not default.
Connectivity The bridge driver provides intercontainer connectivity for all containers running on the same machine. The bridge driver instructs Docker not to create any special networking namespace or resources for attached containers.

https://stackoverflow.com/questions/56825258/difference-between-docker-bridge-and-host-driver

 

difference between docker BRIDGE and HOST driver?

Can you give me one guide or graph to understand the difference? The reason why I ask this question is I can't open website with the following method: docker network create -d bridge mybridge do...

stackoverflow.com

https://intrepidgeeks.com/tutorial/learn-the-bridge-and-host-network-of-docker

 

Docker의bridge와host 네트워크를 배우기

송승헌 씨에 대한 저의 이해. 서버의 인증은 주로 두 가지 방식으로 이루어집니다: 사용자 이름과 비밀번호, 그리고 SSH 키입니다.고급 보안 기술 덕분에 사용자 이름과 암호보다 SSH 키가 더 안전

intrepidgeeks.com

host: 호스트와 같은 네트워크, 포트 겹침 안됨

bridge: 호스트와 별개의 네트워크, 포트 맵핑

728x90
댓글