如何为基于 docker-compose 的 EMQX 设置运行 emqx_ctl
你可以使用以下命令简单地运行 emqx_ctl:
emqx_ctl_docker.sh
docker-compose exec emqx ./bin/emqx_ctl [command]其中 emqx 是要在其中运行 emqx_ctl 的容器名称。
示例:
emqx_ctl_status_example.txt
docker-compose exec emqx ./bin/emqx_ctl statusIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow