Category : mosquitto

I’m trying to setup mqtt broker in a docker container. I pulled the following docker image (https://hub.docker.com/_/eclipse-mosquitto) on my machine and I can succesfully launch the docker container with the following command: docker run -it -p 1883:1883 -p 9001:9001 –network=host eclipse-mosquitto If I run it with that command i get the following output: WARNING: Published ..

Read more

I am new to mqtt and am trying to simply start a local instance with which I can test. When executing docker run -it -p 1883:1883 –restart always -v mosquitto.conf:/home/juliette/mosquito.conf –name mqtt eclipse-mosquitto:2.0.7 I get the following output: 1615963221: mosquitto version 2.0.7 starting 1615963221: Config loaded from /mosquitto/config/mosquitto.conf. 1615963221: Starting in local only mode. Connections ..

Read more

I want to run the eclipse-mosquitto mqtt server in a docker on a RPi. The command I am using to run it is: docker run –name mqtt –restart=always –net=host -tid -u 1883:1883 -v /opt/mosquitto/config:/mosquitto/config:ro -v /opt/mosquitto/log:/mosquitto/log:rw -v /opt/mosquitto/data/:/mosquitto/data/:rw eclipse-mosquitto When starting up the server, I am getting the following error message: 1615232346: Error: Unable to ..

Read more

Trying to run masquitto Docker container on Windows. I have directory structure: .. mosquitto config — mosquitto.conf data log I run command: docker run -it -p 1883:1883 -p 9001:9001 -v mosquitto.conf:/mosquitto/config/mosquitto.conf -v /mosquitto/data -v /mosquitto/log eclipse-mosquitto Got error: docker: Error response from daemon: source /var/lib/docker/overlay2/c54f317f73085489398e1b2c4ffbc85fbdb18073e8a0fa60f11a7f7222fbc49d/merged/mosquitto/config/mosquitto.conf is not directory. See ‘docker run –help’. What I do ..

Read more

trying to run mosquitto as docker container in windows 10. Getting below error log Address not available. 1614449526: mosquitto version 2.0.7 starting 1614449526: Config loaded from /mosquitto/config/mosquitto.conf. 1614449526: Starting in local only mode. Connections will only be possible from clients running on this machine. 1614449526: Create a configuration file which defines a listener to allow ..

Read more

My project running in the docker container, I enter the container ping IP network is normal, bash-5.0# ping 172.25.216.186 PING 172.25.216.186 (172.25.216.186): 56 data bytes 64 bytes from 172.25.216.186: seq=0 ttl=64 time=0.099 ms 64 bytes from 172.25.216.186: seq=1 ttl=64 time=0.110 ms But use mosquitto_sub command to show the Host is unreachable. bash-5.0# apk add mosquitto-clients ..

Read more

Been trying to secure mqtt with no success. I map the folder mqtt/config/mosquitto.passwd on the host. I know is getting the password because when i run mosquitto_passwd -c /mosquitto/config/mosquitto.passwd admin and enter the password im getting an output on the file something like admin:ceuyrgfo48f4uifh4fnr*&^&876(&(*lhv&^y. I add the path of the password file on the mosquitto.conf ..

Read more