HiveMQ Installation
HiveMQ Docker Image

1. Download and run HiveMQ

Running the HiveMQ trial with Docker is the simplest way to experiment with HiveMQ and MQTT. The following command downloads and starts a single HiveMQ trial node:

$ docker run -p 8080:8080 -p 1883:1883 hivemq/hivemq4

Make sure Docker is installed before running this command.

2. Try out

Navigate with your browser to http://localhost:8080 and open the HiveMQ Control Center. If the HiveMQ Control Center is available, HiveMQ is up and running.

You can login with the default credentials (user: admin password: hivemq)

Any MQTT client can be connected to HiveMQ on port 1883 now.

3. (optional) Build a MQTT cluster

For production use cases, we recommend to use a cluster of HiveMQ nodes.

You can learn more about using Docker together in HiveMQ in production on Dockerhub.

Kubernetes and Openshift are supported as well.

4. Your next step

Ready for the next step? Get your evaluation license which allows you to try out HiveMQ without limitations on Docker. Contact a HiveMQ expert today and get the best out of your HiveMQ trial.