ERROR: for app Container "f3c97443ff32" is unhealthy.
Closed this issue · 7 comments
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost","-phashtag"]
timeout: 20s
retries: 10
Its showing unhealthy
. Do I have to change something here 👆
Could you paste the output or show a screenshot of the output of docker ps
?
I changed from Windows to Linux container in Docker settings.
Now that error is gone.
But now it is stuck at 'Creating hashtags_app_1'. So I had to stop it.
See the image.
Hmm, I haven't been able to reproduce this, even on a completely fresh attempt, though it did take a little while for the app container to come up. How long did you wait for the app container to create before stopping it?
My PC specs -
Intel Core I3 2nd generation
4GB Ram
1GB AMD Graphics
Internet speed - ~512 kbps
It was stuck till 10 to 15 minutes
So it was my kaspersky firewall which was blocking port 445...
Now the server is up and running. 😄