[lxc-users] services in container doesn't start automatically
Fırat KÜÇÜK
firatkucuk at gmail.com
Thu Apr 30 14:10:58 UTC 2015
This is my current configuration:
lxc.network.type = veth
lxc.network.veth.pair = veth-mycontainer
lxc.network.link = br0
lxc.network.ipv4 = 213.X.X.31/32
lxc.network.ipv4.gateway = 193.X.X.1
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:aa:bb:cc
container inerfaces file:
auto eth0
iface eth0 inet static
address 213.X.X.31
netmask 255.255.255.255
broadcast 0.0.0.0
gateway 193.X.X.1
dns-nameservers 8.8.8.8
dns-nameservers 8.8.4.4
I don't know why but when i changed interfaces file into this it works.
auto eth0
iface eth0 inet manual
dns-nameservers 8.8.8.8
dns-nameservers 8.8.4.4
2015-04-30 16:21 GMT+03:00 Fırat KÜÇÜK <firatkucuk at gmail.com>:
> Hi.
>
> I installed lxc ubuntu 14.04 on ubuntu 14.04 host.
> in container there are ssh, mysql and nginx servers.
>
> i added all services with update-rc.d command to startup.
>
> But none of them stars automatically on startup. There is no information
> on logs.
>
> what can be the reasons?
>
>
> --
> FIRAT KÜÇÜK
>
--
FIRAT KÜÇÜK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150430/f791696e/attachment.html>
More information about the lxc-users
mailing list