SSL and PSK-enabled mosquitto image based on ubuntu
10K+
Docker image for mosquitto - instead of eclipse-mosquitto, it supports SSL (tested with PSK)
I created this container, because I wanted to connect to mqtt using SSL with PSK. It turns out, that the official mosquitto container has no SSL-support. So I forked the container from Thomas Kerpe, updated the base image and made it build on docker hub.
docker run -ti -p 1883:1883 -p 8883:8883 -p 9001:9001 belandor/docker-mosquitto
Exposes Port 1883 (MQTT), 8883 (MQTTS), 9001 (websockets)
The container requires an external mosquitto.conf file as volume in /mosquitto/config. Logging is done to stdout.
Volumes: /mosquitto/config and /mosquitto/data
git clone https://github.com/breadsword/docker-mosquitto.git
cd docker-mosquitto
docker build .
The purpose of this Container is to provide a configurable mosquitto broker with SSL support. The Eclipse Mosquitto Project now provides a very similar Container (without SSL support): Eclipse Mosquitto Container
docker-mosquitto was written by:
based on docker-mosquitto by
License: BSD 3-Clause
Content type
Image
Digest
Size
89.8 MB
Last updated
over 6 years ago
docker pull belandor/docker-mosquitto