Quoting Jin Chen (ciccin...@gmail.com):
> Another question.
> 
> If I start a ubuntu template lxc container tm1 and do "lxc-start-ephemeral
>  -o tm1", overlayfs mount will not include those ramfs (e.g. /proc, /sys,
> /run) in original container root directory, right ? Actually, I think this
> script run outside container tm1 and it even can't see those ramfs
> directories in original container.

Yes, lxc-start-ephemeral isn't meant to be used with a running container
as the original.  Rather you create a pristine container, then use it only
as a base for multiple ephemeral containers.

Note also that if /var is btrfs, then lxc-create will automatically
use btrfs snapshots for creating containers.

-serge

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to