How to run emqx_ctl for docker-compose-based EMQX setups

You can simply run emqx_ctl using the following command:

example.sh
docker-compose exec emqx ./bin/emqx_ctl [command]

where emqx is the name of the container to run emqx_ctl in.

Example:

example.txt
docker-compose exec emqx ./bin/emqx_ctl status

 


Check out similar posts by category: EMQX, MQTT