Networks Docker vs LXD

This is a graphical overview of how networking is configured in Docker and LXD using private NATed networks. I show a method that I use to bridge LXD containers to the LAN and offer docker applications on dedicated LAN addresses thus simplifying port forwarding.

Here is a depiction of a standard network with a Docker host and a LXD host.

docker-lxd

I suggest a hosting solution whereby LXD containers are bridged to the main LAN and Docker containers are nested inside of LXD containers. This has been discussed in many other videos on the channel and this is a summarization of this solution.

docker-lxd-network-bridge