Issue: I am trying to run Jenkins on Docker. I followed all the guidelines on Docker hub Still it is failing. I executed below command:
docker run --name JenkinsServer -p 8080:8080 -p 50000:50000 -v C:\Jenkins_Home:/var/jenkins_home jenkins
The error message is:
docker: Error response from daemon: driver failed programming external connectivity on endpoint JenkinsServer (46bab1a1f5fcbe37d5a8394a4f97bd4b0b9b8c8be18c03b58696fda5daa774ef): Error starting userland proxy: Bind for 0.0.0.0:50000: unexpected error Permission denied.
I checked whether the port is already in use or not through Resource monitor, but none of the services are running on 50000. Ho can I resolve this error?
OS: Windows 10 Enterprise
Docker version: 18.09.2