Error starting userland proxy: listen tcp0.0.0.0:3306: bind: address already in use

前端 未结 9 717
难免孤独
难免孤独 2020-12-09 08:16

I have to make LAravel app and to deliver a Dockerfile ,but I\'m really stuck with this. Before that I had a nightmare wile installing laravel on m

9条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-09 08:47

    So for me when I was trying to load and run MySQL image in docker container, I was getting the same error:

    And even after stopping local mysql server in system preferences didn't help: Cause the port 3306 was used by my tomcat server, so basically you have to make sure the port (in this case 3306) that the docker command wants to use should not be in use by any other service otherwise the command will fail

提交回复
热议问题