Sign inSign up

belandor/docker-mosquitto

By belandor

•Updated over 6 years ago

SSL and PSK-enabled mosquitto image based on ubuntu

Image
0

10K+

belandor/docker-mosquitto repository overview

⁠docker-mosquitto

Docker image for mosquitto - instead of eclipse-mosquitto⁠, it supports SSL (tested with PSK)

Docker Stars Docker Pulls

⁠Project Status

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.

⁠Run

docker run -ti -p 1883:1883 -p 8883:8883 -p 9001:9001 belandor/docker-mosquitto

Exposes Port 1883 (MQTT), 8883 (MQTTS), 9001 (websockets)

⁠Local directories / External Configuration

The container requires an external mosquitto.conf file as volume in /mosquitto/config. Logging is done to stdout.

Volumes: /mosquitto/config and /mosquitto/data

⁠Build

git clone https://github.com/breadsword/docker-mosquitto.git
cd docker-mosquitto
docker build .

⁠Other Containers

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⁠

⁠Authors and license

docker-mosquitto was written by:

based on docker-mosquitto by

License: BSD 3-Clause⁠

Tag summary

Content type

Image

Digest

Size

89.8 MB

Last updated

over 6 years ago

docker pull belandor/docker-mosquitto