Autofs
Autofs is used to automatically connect to my NFS storage on my containers/VMs so that they can share storage.
Installation
Client
(
apt install -y autofs && \
echo '/mnt /etc/auto.nfs --ghost --timeout=60' | tee -a /etc/auto.master && \
echo 'storage -fstype=nfs4,rw,insecure 192.168.2.19:/storage' | tee -a /etc/auto.nfs && \
service autofs restart && \
service autofs status
)
References