[Lxc-users] Sharing resources between containers

- xenocrates xenocrates at yandex.ru
Tue Mar 6 13:55:23 UTC 2012


Please explain, 
what is the right way to sharing resources (as example mysql socket) 
between containers? 

For example we have 2 VM

VM1 : mysql instance
VM2 : need access to mysql

Yes it's possible to connect via TCP
But connect via socket is more liked way

So, as basic setup,
we can create on host some /share-dir
and add to VM1, VM2 fstab mount bind of host /share-dir into containers

Is it correct?




More information about the lxc-users mailing list