1

After typing the command

docker run -d -p 6633:6633 -p 8181:8181 -p 8101:8101 --name=opendaylight glefevre/opendaylight

I am getting an error

dd66ef3db5e769c52fa2c725234fa4dc31192e310abfcddf576ad9de88d5a61d docker: Error response from daemon: driver failed programming external connectivity on endpoint opendaylight (f36a904bceb9abe018bb6de924858a7879c379951d7b6f18687c3cb6c11e4dab): Error starting userland proxy: listen tcp 0.0.0.0:8181: bind: address already in use.

2

It seems that your machine already use port 8181. Try using other port or check what uses that port.

  • Can you help me how to use other port? – pranav Nov 30 '18 at 6:24
  • Something like this : docker run -d -p 6633:6633 -p 8182:8181 -p 8101:8101 --name=opendaylight glefevre/opendaylight, where the format is -p $hostport:$containterport – bistoco Nov 30 '18 at 7:20
  • To know which process is using 8181, use sudo netstat -tulpn | grep 8181 – bistoco Nov 30 '18 at 7:22
  • Althought when you use unused port you’ll need to allow this port in your firewall. ‘sudo ufw allow <port>’ will add desired port to firewall. – Dysproz Nov 30 '18 at 9:34

Your Answer

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.