[lxc-users] make a nginx webserver in a lxc container available to the local wireless lan
Eldon Kuzhyelil
eldon.mec at gmail.com
Tue Dec 8 08:07:07 UTC 2015
Hi
Okay i am now doing doing it with ethernet.So basically i am trying to
setup a webserver in my lxc container and my system is connected to router
via ethernet cable.I want the web page to be visible from my another system
connected to this LAN.What i have done right now is this
vi /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.X #(my ip address)
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8 8.8.4.4
auto br0
iface br0 inet dhcp
But after rebooting i am not even able to connect to internet.Please help..
Thankyou
On Mon, Dec 7, 2015 at 6:14 PM, Mark Constable <markc at renta.net> wrote:
> On 07/12/15 15:41, Eldon Kuzhyelil wrote:
>
>> Mr.Tamas if u have any documents for the options you have mentioned please
>> provide them as i am new to this domain.
>>
>
> If you are testing LXD on a laptop then keep in mind you can't use
> bridging via
> WIFI so if you can use an ethernet cable from your main router then there
> may be
> some useful hints here...
>
>
> https://lists.linuxcontainers.org/pipermail/lxc-users/2015-November/010495.html
>
> If you can surf to https://goldcoast.org then that is a xenial container
> on my
> xenial/kubuntu laptop running nginx and php7 on an internal 192.168.0.3 IP
> as
> a DMZ from my domestic router/modem.
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20151208/a1bfc296/attachment.html>
More information about the lxc-users
mailing list