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.

1 Answer 1

2

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

4
  • Can you help me how to use other port?
    – pranav
    Nov 30, 2018 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, 2018 at 7:20
  • To know which process is using 8181, use sudo netstat -tulpn | grep 8181
    – bistoco
    Nov 30, 2018 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, 2018 at 9:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .