Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker image for mosquitto clients (MQTT publisher and subscriber).
Full Description


Mosquitto clients image that allow to execute the mosquitto_pub or mosquitto_sub client to interact
with a MQTT broker.

Build the image

To create this image, execute the following command in the docker-mosquitto-clients folder.

docker build -t cburki/mosquitto-clients .

Run the image

When you run this image you must specify the client (mosquitto_pub or mosquitto_sub) with these arguments.
The example below will show you how to get the help for the mosquitto_pub program.

docker run \
    --rm \
    -i \
    -t \
    cburki/mosquitto-clients \
    mosquitto_pub --help
Docker Pull Command
Source Repository