Containers

From Anarchaserver
Revision as of 18:17, 24 May 2017 by Ooooo (talk | contribs) (Created page with "We install containers to manage the transitional, finally LXE: https://wiki.debian.org/LXC <code> apt-get update </code> <code> apt-get install lxc </code> Create Let's cr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

We install containers to manage the transitional, finally LXE: https://wiki.debian.org/LXC


apt-get update apt-get install lxc

Create Let's create a 'Transitional' virtual machine, a container. lxc-create -n transitional -t debian

How can a container access the network? A container, has MAC adress, we need a bridge for networking, via dhcp, So the container get an ip, and give access to the server's internal network

Do we opt for static of dynamic ip's? the dhcp server can have static ip via host/ it is anyhow setup to give a unique ip, to the MAC address of the container (guest).


How can we access via the internet a container? Setup routing / (reverse) proxy system for networking, so depending on the different services (Living data, Nekrocemetery, Transitional) we create subdomains which direct you to the correct container.