[Lxc-users] Restarting LXC containers after power failure

David Parks davidparks21 at yahoo.com
Mon May 6 13:36:56 UTC 2013


Oh, that will do nicely.  We'll just write an LXC start/stop script to
update the symbolic link on start/stop. That would seem like a great little
optional feature to build into lxc-start perhaps, too.

Thanks!
David


-----Original Message-----
From: Tamas Papp [mailto:tompos at martos.bme.hu]
Sent: Monday, May 06, 2013 8:26 PM
To: lxc-users at lists.sourceforge.net
Cc: David Parks; Ha Ho
Subject: Re: [Lxc-users] Restarting LXC containers after power failure

On 05/06/2013 02:58 PM, David Parks wrote:
> We just had a datacenter power failure, upon restart of course our LXC 
> containers were stopped. It would be just dandy if there were an LXC 
> option to restart the containers that were already running before the
sudden failure.
>
> Is there any such capability?

There is no such option.
You can enable containers to start automatically at boot time, see
/etc/lxc/auto/ .

Cheers,
tamas






More information about the lxc-users mailing list