I’ve read a lot about the subject, but I haven’t found any solutions that suit me.
Currently, if I want to mount NFS in an LXC container, I have to mount it on the host and then add a disk to the container with the path where it is mounted on the host. This solution is not very clean.
So I would like a solution to mount NFS directly in the Container. Is it possible to have some kind of tutorial to do this?
Thanks for your read and help.
root@nfsclient:~# cat /etc/debian_version 10.7 root@nfsclient:~# mount 192.168.1.1:/mnt/nfsclient /mnt/nfs/ mount.nfs: Protocol not supported root@nfsclient:~# dpkg -l | grep nfs ii libnfsidmap2:arm64 0.25-5.1 arm64 NFS idmapping library ii nfs-common 1:1.3.4-2.5+deb10u1 arm64 NFS support files common to client and server
pulsar@nyx:~$ cat /etc/debian_version 10.7 pulsar@nyx:~$ snap list Name Version Rev Tracking Publisher Notes core18 20201210 1949 latest/stable canonical✓ base lxd 4.9 18775 latest/stable canonical✓ - snapd 2.48.1 10494 latest/stable canonical✓ snapd