for the first time ever I set up Docker CE on Windows 10 x64 Education.
I wanted to run a container with dperson/samba 's image from dockerhub to share some files from my machine for different users with different permissions each. I had this running on a Linux machine before without problems.
When I try to run the container with a simple configuration like:
docker run -it --name samba -p 139:139 -p 445:445 -d dperson/samba -n
I get the following Error:
docker: Error response from daemon: driver failed programming external connectivity on endpoint samba (8fa77ccead15ca07e5583c1efc1d7eafff7b6c5556f2ad205ed31714dcff6527): Error starting userland proxy: Bind for 0.0.0.0:445: unexpected error Permission denied.
I googled the error and all the answers don’t seem to address my specific case, since I don’t have problems to connect to any port, but specifically port 445 (139 seems to work fine). Somewhere I read that the Docker CE VM “Moby” that runs on Hyper-V used port 445 to connect to the shared drives. I figured this might be a problem.
I have no idea what is wrong and how to fix this, any help will be greatly appreciated.