You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue with the emqx/emqx Docker image version 5.8.4. I've been trying to implement a health check mechanism using the curl command to query the /status endpoint, as invoking emqx_ctl each time consumes too much CPU up to 100% peak usage, which is not ideal for health checking.
However, it appears that the curl command is not available within the 5.8.4 Docker image. When attempting to execute a health check via curl, the command is not recognized and fails.
Steps to Reproduce:
docker run -d --name emqx -p 1883:1883 -p 8083:8083 -p 8084:8084 -p 8883:8883 -p 18083:18083 emqx/emqx:5.8.4
docker exec -u root -it emqx /bin/bash
root@f1df45009b01:/opt/emqx# curl
bash: curl: command not found
docker exec -u emqx -it emqx /bin/bash
emqx@f1df45009b01:/opt/emqx$ curl
bash: curl: command not found
Expected Behavior:
The curl command should be able to reach the EMQX status API and return a response indicating the health of the service.
Actual Behavior:
The curl command is not found or does not work within the container environment.
The CI log may contain potential errors or build failures.
Hello EMQX Team,
I'm encountering an issue with the emqx/emqx Docker image version 5.8.4. I've been trying to implement a health check mechanism using the curl command to query the /status endpoint, as invoking emqx_ctl each time consumes too much CPU up to 100% peak usage, which is not ideal for health checking.
However, it appears that the curl command is not available within the 5.8.4 Docker image. When attempting to execute a health check via curl, the command is not recognized and fails.
Steps to Reproduce:
Expected Behavior:
The curl command should be able to reach the EMQX status API and return a response indicating the health of the service.
Actual Behavior:
The curl command is not found or does not work within the container environment.
The CI log may contain potential errors or build failures.
https://github.com/emqx/emqx-docker/actions/runs/12638560515/job/35215085251#step:6:111
but not curl command available .
Also:
This command run twice.
The text was updated successfully, but these errors were encountered: