0

Trying to run Docker with mysql in it but it complains:

Bind for 0.0.0.0:3306 failed: port is already allocated

How to stop everything that is running on this port?

Joe
  • 11,983
  • 31
  • 109
  • 183
  • 2
    Possible duplicate of [How to kill a process running on particular port in Linux?](https://stackoverflow.com/questions/11583562/how-to-kill-a-process-running-on-particular-port-in-linux) – hiropon Apr 25 '18 at 02:21

1 Answers1

0

Stop mysql database: /etc/init.d/mysqld stop and then try to run container again

kaxi1993
  • 4,535
  • 4
  • 29
  • 47