Error starting userland proxy: listen tcp 0.0.0.0:2049: bind: address already in use Error starting userland proxy: listen tcp 0.0.0.0:2049: bind: address already in use docker docker

Error starting userland proxy: listen tcp 0.0.0.0:2049: bind: address already in use


You can try :

docker stop $(docker ps -a -q)docker ps # again to make sure containers is offsudo lsof -i tcp:2049 # now you get and list of process running and using 2049 port find and copy PIDsudo kill -9 yout_PID

Now that the 2049 port is killed, then try start containers again...


It looks as if you have an NFS server running on your host. When you run netstat -p ... as root and you don't see a PID for a port, like this...

tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN      -                   tcp6       0      0 :::2049                 :::*                    LISTEN      -                   udp        0      0 0.0.0.0:2049            0.0.0.0:*                           -                   udp6       0      0 :::2049                 :::*                                -                   

...it generally means there is a kernel service bound to that port. Disabling the kernel NFS server (assuming that you're not using it) should allow you to run your container.