Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In other words, containers exist within a private network, may see each other, pull network data to whatever the host can access, but nothing outside aside from the host itself will see these servers. A good analogy is your home network behind 1 public IP given on your service provider router.

Enabling LXC DNS Resolution

By default, the containers can only see each other by IP addresses.... Tin will be writing this out within next 2 weeks (from Jan 23rd).

Static LXC Assigned IP

When working with servers, without orchestration, it is best to use static IPs. This should be your first step if seriously using containers for production use. By default, LXC assigns an internal set of IPs within the range of 10.0.3.2 to 10.0.3.254 which is defined in /etc/default/lxc-net.

...

Animated Gif of Traditional Virtualization vs Container - https://leandromoreira.com.br/2016/02/06/from-lxc-to-docker-machine-and-cloudery/

DNS Resolution - http://seminar.io/2014/07/27/dns-resolution-for-lxc-in-ubuntu-trusty/