Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error: failed to start containers: sandbox-proxy

SOLVED Go to solution
Highlighted

Error: failed to start containers: sandbox-proxy

Expert Contributor

I use Windows 10 Pro. With Docker, I try to start HDP-Sandbox 2.6.5.

docker container start sandbox-hdp

works fine but when I try to start sandbox-proxy:

docker container start sandbox-proxy

I get the following error:

Error response from daemon: driver failed programming external connectivity on endpoint sandbox-proxy (26aa3064fa2cf790e2f529ed1c865944013893b8f14259ef5109407b5b95e08c): Error starting userla
nd proxy: Bind for 0.0.0.0:50111: unexpected error Permission denied                                                                                                                           
Error: failed to start containers: sandbox-proxy                                                                                                                                               
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Error: failed to start containers: sandbox-proxy

Expert Contributor

In this post, Hortonworks says change port number if come across this kind of conflict. For example if 6000 is binded change it to 6001 in 'HDP_2.6.5_deploy-scripts\sandbox\proxy\proxy-deploy.sh' file. I changed 50111 to 50112, 50113, etc. and retried but nothing helped. I had to comment out the following ports:

#-p 50111:50111 \

#-p 50095:50095 \

#-p 50079:50079 \

# -p 50075:50075 \

# -p 50070:50070 \

then I could manage to start sandbox-proxy.

3 REPLIES 3

Re: Error: failed to start containers: sandbox-proxy

Expert Contributor

In this post, Hortonworks says change port number if come across this kind of conflict. For example if 6000 is binded change it to 6001 in 'HDP_2.6.5_deploy-scripts\sandbox\proxy\proxy-deploy.sh' file. I changed 50111 to 50112, 50113, etc. and retried but nothing helped. I had to comment out the following ports:

#-p 50111:50111 \

#-p 50095:50095 \

#-p 50079:50079 \

# -p 50075:50075 \

# -p 50070:50070 \

then I could manage to start sandbox-proxy.

Re: Error: failed to start containers: sandbox-proxy

New Contributor

Change ports 50070, 50075, 50079, 50111, 50095 to 4 digit ports , worked for me on windows 10!

Re: Error: failed to start containers: sandbox-proxy

Expert Contributor

Thank you @Stylianos Sideridis. The issue cooled. Next time I'll keep it in mind, thanks again.