Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port 3306 #18

Open
R-QualiPdf opened this issue Jan 17, 2023 · 0 comments
Open

Port 3306 #18

R-QualiPdf opened this issue Jan 17, 2023 · 0 comments

Comments

@R-QualiPdf
Copy link

I am trying to get this running on Windows.
This is the first time I am using Docker, so please bare with me.

(1) For starters, the stable version (19.4) of Node wouldn't install, instead I had to use version 17; edited in .env.
#WORKSPACE_NODE_VERSION=stable
WORKSPACE_NODE_VERSION=v17.9.1

(2) I noticed there are three applications that use the same port 3306. However, the mariadb won't start.

D:\xampp\htdocs\EQEmuAllakhazamClone\laradock>docker-compose up -d nginx mariadb workspace
[+] Running 3/4

  • Container laradock-workspace-1 Started 1.2s
  • Container laradock-php-fpm-1 Started 2.3s
  • Container laradock-nginx-1 Started 3.7s
  • Container laradock-mariadb-1 Starting 3.7s
    Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:3306 -> 0.0.0.0:0: listen tcp 0.0.0.0:3306: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.

If I change the port, e.g. to 3307, it will start all four containers, but then, the website says "Impossible to connect to mariadb".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant