-
Notifications
You must be signed in to change notification settings - Fork 162
Healthcheck makes emqx exit abnormally #143
Comments
Hi, @renatomotorline, sorry for late reply there |
@zhanghongtong the problem persists. Even if I put the healthcheck command equal to exit 0. |
@renatomotorline Can you share the contents of |
The fail is before the health check I think because the health check has an interval of 2 minutes and the container fails after approximately 40 seconds.
If I deploy in the docker swarm the problem happens.
The /opt/emqx/log/emqx.log.* only give � /opt/emqx/log/erlang.log.*
docker-compose.yml
|
@renatomotorline Sorry, I don't have a docker swarm cluster, so I can't test the |
Expected behavior
The container execute the healthcheck and don't exit.
Actual behavior
Container exits abnormally approximately 40 seconds after start. The healthcheck is 2m.
If I remove the healthcheck all works ok.
Docker logs
Test Dockerfile
EMQ version
emqx/emqx:v4.0.5
Docker version
Which docker-engine version?
How docker info?
System
What system do you use?
CentOS Linux release 8.1.1911 (Core)
The text was updated successfully, but these errors were encountered: