Quoting Guillaume VINCENT ([email protected]): > 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
Hi, lxd doesn't actually use that file. The container configuration is stored in a database (for fast querying of large # containers). What you want currently isn't implemented, but it is in the spec to be implemented "soon". If it's of interest to you, patches are welcome :) See the 'Startup' section in the file specs/daemon-behavior.md (https://github.com/lxc/lxd/blob/master/specs/daemon-behavior.md) for more details. > 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 ? > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
