ehough / docker-nfs-server

A lightweight, robust, flexible, and containerized NFS server.
https://hub.docker.com/r/erichough/nfs-server/
GNU General Public License v3.0
669 stars 221 forks source link

Cannot bind to port 111 in Docker for Windows #51

Open wackazong opened 4 years ago

wackazong commented 4 years ago

I am trying to set this up on Windows with Docker. When I start the container I get Error starting userland proxy: listen tcp 0.0.0.0:111: bind: address already in use.

It seems strange because there is no processes listening on port 111 on my Windows host OS. There are no other containers running either (I am checking with netstat -ano in Powershell and I cannot see the port number 111 anwhere).

I a stuck here because I do not know how to identify why the bind is not possible because to me it seems that port 111 should be free.

wackazong commented 4 years ago

Update: when I check netstat in the host VM (like this) I can see that rpcbind is already running there. That solves the puzzle. But what do I do now?