Connecting to Existing Networks

Let's learn to connect containerized apps to external systems and physical networks.

The ability to connect containerized apps to external systems and physical networks is vital. A common example is a partially containerized app; the containerized parts need a way to communicate with the non-containerized parts still running on existing physical networks and VLANs.

MACVLAN

The built-in MACVLAN driver (transparent on Windows) was created with this in mind. It makes containers first-class citizens on the existing physical networks by giving each one its own MAC address and IP addresses. We show this in the figure below.

Get hands-on with 1400+ tech skills courses.