Hello,
I'm trying to solve a problem with my LXC containers. I would like to map / mount / share a directory from my host to LXC container. If these were real machines I could mount with NFS and be done. However, reading old posts it's not possible or easy to NFS mount between LXC and the host. I've read a few older articles about accomplishing this but so far they haven't worked.
Specs: Ubuntu 16.04 x64 with ZFS backed LXC/LXD
Details:
The directory I'd like to share to multiple containers is "core/big_data_drive".
The container names are bigdata1 and bigdata2 both with their respective ZFS drives at "core/lxd/containers/bigdata1"
Regards,
Martin
I'm trying to solve a problem with my LXC containers. I would like to map / mount / share a directory from my host to LXC container. If these were real machines I could mount with NFS and be done. However, reading old posts it's not possible or easy to NFS mount between LXC and the host. I've read a few older articles about accomplishing this but so far they haven't worked.
Specs: Ubuntu 16.04 x64 with ZFS backed LXC/LXD
Details:
The directory I'd like to share to multiple containers is "core/big_data_drive".
The container names are bigdata1 and bigdata2 both with their respective ZFS drives at "core/lxd/containers/bigdata1"
Regards,
Martin