-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
docker-compose mysql immediately stops after running #663
Comments
These notices mean the container is fully initialized and ready |
@wglambert thanks ! |
What is the correct health check to prevent your scripts to connect to the temporary server? |
Hi @scspijker, |
See also https://github.com/docker-library/healthcheck/blob/40afbf64d69cf933af0da4df6383958a29113601/mysql/docker-healthcheck (which explicitly uses TCP either to the external IP address of the container or 127.0.0.1 to avoid the temporary server). |
Based on this comment and also this answer, my
because temporary server skips networking so no TCP port is open. |
And then the docker run is finished. Any thoughts?
The text was updated successfully, but these errors were encountered: