how can I mount an nfs device inside the container? The container has an local IP-address.
- 192.168.0.13 NFS-Server
- 192.168.0.20 Resin Docker Server
- NFS Server allowes 192.168.0.20 to access /volume1/upload
I can mount the /volume1/upload on the resin server (terminal), but I can’t mount within the docker container
RUN bash -c ‘mount -t nfs -v -o nolock 192.168.0.13:/volume1/upload /media/video’
[Build] mount.nfs: trying text-based options ‘nolock,vers=4,addr=192.168.0.13,clientaddr=172.18.0.2’
[Build] mount.nfs: trying text-based options ‘nolock,addr=192.168.0.13’
The docker container has an internal IP 172.18.0.2 ?
Or can I mount the nfs-share on the host and export directories into the docker container?