[lxc-users] Best practice for sharing folder between lxc-guests?

Andreas Laut andreas.laut at spark5.de
Thu Feb 27 10:14:03 UTC 2014


Is the mount bind really working on first guest? In ubuntu lxc version 
your config entry wont work. lxc-start needs the whole path to the 
directory from host sight of view.

lxc.mount.entry = /shared/files /var/lib/lxc/mycontainer/rootfs/shared/ none bind,rw 0 0

Regards,
Andreas

Am 27.02.2014 10:57, schrieb Friedemann Stoffregen:
> Hi everyone,
> I’m trying to setup a folder where each lxc-guest can have read/write access to. Is there already a practice for using it? Trying to add
>
> lxc.mount.entry = /shared/files shared/ none bind,rw 0 0
>
> to each guest resulted in non-booting guests (except the first one started)…
>
> I really would appreciate help :-).
>
> Greetings,
> Friedemann
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list