Re: tmpfs mounts for lxc container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 08, 2011 at 07:30:28AM -0800, Chris Haumesser wrote:
> I intend to share a single read-only filesystem root among a number of
> LXC containers.
> 
> With lxc-tools, I can specify tmpfs bind mounts within the container,
> for directories that need to be writable, like /var/run and /var/lock.
> 
> Is there a simple way to do this with libvirt, or do I need to mount the
> tmpfs in the host first, and specify it as a filesystem in the xml?

At this point in time you need to create the FS in the host and export
it via the XML

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux