sukesh-ak / setup-mosquitto-with-docker

How to setup Mosquitto MQTT Broker using docker with Authentication and Websocket support.
https://www.sukesh.me
The Unlicense
207 stars 38 forks source link

6-create-and-run-docker-container-for-mqtt not working for me #1

Closed widiarrohman1234 closed 1 year ago

widiarrohman1234 commented 1 year ago

in the 6th step, I didn't manage to run it sudo docker-compose -p mqtt5 up -d

but i succeeded by running docker compose create

Note that the docker compose create command must be in the same directory.

Screenshot 2023-08-28 215056

sukesh-ak commented 1 year ago

The one I used is docker-compose and the one you used is docker compose. You can install using

apt install docker-compose

Btw, you can get a MQTT web client running with the following

docker run -d --name mqttx-web -p 80:80 emqx/mqttx-web
widiarrohman1234 commented 1 year ago

thank you, this method has worked. I want to give a suggestion, is it okay if you enter the command in the documentation that you wrote. Thank You.

sukesh-ak commented 1 year ago

Have updated the readme. Thanks for the suggestions.