User Tools

Site Tools


visiesrv2_lxc_containers

This is an old revision of the document!


LXC containers

The current defined containers are listed here. Note that the actual active container for visionlab website is visielab-test

NAME STATE IPV4 IPV6 TYPE SNAPSHOTS
nextcloud RUNNING 10.27.117.84 (eth0) PERSISTENT 6
openaudit RUNNING 10.27.117.9 (eth0) PERSISTENT 2
visielab STOPPED PERSISTENT 3
visielab-test RUNNING 10.27.117.155 (eth0) PERSISTENT 7
visielab-wiki RUNNING 10.27.117.55 (eth0) PERSISTENT 0

networking of the LXC containers

We defined all networking in /etc/lxd_bridge.conf .To use dnsmasq with this data, the correct variable must be defined in /etc/default/lxd-bridge → LXD_CONFILE=“/etc/lxd_bridge.conf”

cat lxd_bridge.conf 
domain=ac.ua.be
dhcp-host=nextcloud,10.27.117.84
dhcp-host=openaudit,10.27.117.9
dhcp-host=visielab,10.27.117.144
dhcp-host=visielab-test,10.27.117.155
dhcp-host=visielab-test2,10.27.117.250
dhcp-host=visielab-wiki,10.27.117.55

reverse proxying via apache

to address the different websites in the lxc containers, we use reverse proxying with apache2.

visiesrv2_lxc_containers.1522833658.txt.gz · Last modified: 2018/04/04 09:20 by jpe