[lxc-users] How to start a container on boot
Guillaume VINCENT
gvincent at oslab.fr
Thu Apr 9 19:11:25 UTC 2015
hi,
I'm using lxd and I created a simple container
when I restart my server, my container is stopped
+------+---------+------+------+
| NAME | STATE | IPV4 | IPV6 |
+------+---------+------+------+
| mail | STOPPED | | |
+------+---------+------+------+
I created manually config file in container folder (should I ? lxc
launch should create empty config file no ?)
vim /var/lib/lxd/lxc/mail/config
I put the following in my config file
lxc.start.auto = 1
LXC_AUTO is set to "true" in /etc/default/lxc
lxc-autostart did nothing
and when I restart my server, my container is always STOPPED
am I missing something ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150409/5b1ecd4f/attachment.html>
More information about the lxc-users
mailing list