Trying to run docker image of hortonworks giving 0.0.0.0:2181 failed to port is already allocated

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Trying to run docker image of hortonworks giving 0.0.0.0:2181 failed to port is already allocated



I am following hortonworks dockerization document from hortonworks and running below commands after downloading "HDP_2.6.5_deploy-scripts_180624d542a25.zip" file.



After extracts , I executed "docker-deploy-hdp265.sh" file.



It executes two commands
docker start sandbox-hdp
docker start sandbox-proxy



first one run perfectly and when I execute "docker start sandbox-proxy" it gives below error




Error response from daemon: driver failed programming external connectivity on endpoint sandbox-proxy (7d3f4a490fc3d782c36ba4bf35921a896acc3edf35d2bf4d9522aebfeea002f5): Error starting userland proxy: Bind for 0.0.0.0:2181 failed: port is already allocated
Error: failed to start containers: sandbox-proxy



please suggest what I am doing wrong,
I also, use this command to update host files




sudo echo '127.0.0.1 sandbox.hortonworks.com sandbox-hdp.hortonworks.com sandbox-hdf.hortonworks.com' | sudo tee -a
127.0.0.1 sandbox.hortonworks.com sandbox-hdp.hortonworks.com sandbox-hdf.hortonworks.c





Without knowing too much, I'd say that you probably have the port allocated, ie. used by another service. Try to figure out what ports are in use, maybe change the port used by the container, or stop the one running.
– geostocker
Aug 13 at 8:26









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS