NFS server for Docker
Docker nfs-server based on CentOS. To use, run the image as follows:
$ docker run -d --net=bridge --privileged --name nfs-server mnagy/nfs-server /exports/foo /exports/bar
You can then mount NFS shares:
# mount <CONTAINER_IP>:/exports/foo /mnt/foo # mount <CONTAINER_IP>:/exports/bar /mnt/bar
I am fairly new to docker but managed to do some with it, ie. nginx webserver.
Here what I do not understan is, where is the folder I am going to share? Do I have to attach and log in to the mnagy/nfs-server conatiner? Btx. it will not let me log in.
So please give a little explanation.
This is probably the only working nfs image on dockerhub. Thanks!!!!!!