A mosquitto server + publisher + subscriber configuration.
Start the dockers containers
# Start the dockers
$ docker-compose up -d
# Open the two terminals
$ docker exec -ti debianmqtt_mqttpub_1 bash
$ docker exec -ti debianmqtt_mqttsub_1 bash
# On subscriber terminal
$ mosquitto_sub -h mqttserver -t "#"
# On published terminal
$ mosquitto_pub -h mqttserver -t "/home/root" -m "hello world"
Content type
Image
Digest
sha256:457f07b21…
Size
206.5 MB
Last updated
about 11 years ago
docker pull badele/debian-mosquitto