Public | Automated Build

Last pushed: a year ago
Short Description
Image for e-mqtt (a massively scalable MQTT solution) with base image as Ubuntu - Trusty (14.04)
Full Description

Q: What is EMQTT?
A: It's an Erlang-based MQTT broker solution. (Visit to know more)

Q: How to run the container?
A: Just - sudo docker run -d -p 1883:1883 -p 8083:8083 shubhsk/emqtt-ubuntu

<YOUR-IP OR DOMAIN>:8083/status on the browser will display below message if it is successfully working:

" Node emqttd@ is started
emqttd is running "

Q: Why base image as Ubuntu?
A: Because personally, I like Ubuntu, you are free to use Debian, alpine, etc.

Q: How to make a cluster?

#First Node

docker run -d --name node1 -e NODE_IP=IP1 -p 1883:1883 -p 8883:8883 -p 8083:8083 shubhsk/emqtt-ubuntu

#Second Node and more

docker run -d --name node2 -e NODE_IP=IP2 -e MASTER=IP1 -p 1883:1883 -p 8883:8883 -p 8083:8083 shubhsk/emqtt-ubuntu

Docker Pull Command
Source Repository

Comments (0)