1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/docs/legacy.md
Madhu Venugopal 142825b2f3 Updated Design Document
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2015-05-06 13:38:16 -07:00

1,010 B

This document provides a TLD&R version of https://docs.docker.com/v1.6/articles/networking/. If more interested in detailed operational design, please refer to this link.

Docker Networking design as of Docker v1.6

Prior to libnetwork, Docker Networking was handled in both Docker Engine and libcontainer. Docker Engine makes use of the Bridge Driver to provide single-host networking solution with the help of linux bridge and IPTables. Docker Engine provides simple configurations such as --link, --expose,... to enable container connectivity within the same host by abstracting away networking configuration completely from the Containers. For external connectivity, it relied upon NAT & Port-mapping

Docker Engine was responsible for providing the configuration for the container's networking stack.

Libcontainer would then use this information to create the necessary networking devices and move them in to a network namespace. This namespace would then be used when the container is started.