Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Error: failed to start containers: sandbox-proxy

avatar
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

avatar
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.

View solution in original post

6 REPLIES 6

avatar
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.

avatar
New Contributor

I am still getting the same error even after changing the ports on windows 10. 

avatar
New Contributor

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

avatar
Expert Contributor

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

avatar
New Contributor

while I make the changes to proxy-deploy.sh , I still keep getting the same error on docker start sandbox-proxy . Upon running ./docker-deploy.sh , proxy-deploy.sh gets generated again.So, it doesn't help

avatar
New Contributor

In which file do we make this change.

 

As if I just make changes to proxy-deploy.sh  and run docker start sandbox-proxy, I still get the same error.