Skip to main content

Install Coreflux

Most people should use Docker or Docker Compose for the broker and the Coreflux HUB. Native broker installs are in the Linux and Windows tabs. Just evaluating with nothing to install? Use the Cloud tab. The HUB desktop tab is the standalone app. Packages and desktop builds are on the Downloads page.
Coreflux runs as a single install. No separate databases or message queues—pick a method below and run it.
Every local install method uses the same defaults:For a Cloud Trial, open the broker in Coreflux Fleet at portal.coreflux.org. The address and login are on that page.

~2 min if Docker is already installed — broker, HUB, or both.
The broker and Coreflux HUB are separate images. Pick the command that matches what you want to run. The HUB desktop app is in the HUB desktop tab.
When you open the web HUB, the browser can install it as an app that opens in its own window. Use the browser’s install control — often Install or Add to Home Screen. Browsers offer this on localhost and on HTTPS. The HUB desktop app is already installed and does not use this.
New to Docker? Install it from the official Docker install page, then confirm with docker --version before you continue. Images are on Docker Hub.
Start the broker. Docker fetches the latest image automatically:
MQTT is on localhost:1883. There is no HUB in this command — use HUB only or Broker + HUB, or the standalone HUB app.
The broker’s MCP server has its own port, 6278. It’s off by default and isn’t published here. To reach it from outside the container, see Docker and Kubernetes.
Port 3000 serves the HUB over plain HTTP. Open it on localhost, or put it behind a reverse proxy that terminates TLS and open it over HTTPS. Browsers only allow clipboard access on HTTPS or localhost, so on current HUB versions the copy buttons fail when you open the HUB as http://<LAN IP>:3000. See Copy buttons don’t work under troubleshooting.
The HUB proxies MQTT from inside Docker, so Host localhost does not reach a broker container.That’s it—Coreflux is now running locally. Confirm it works under Verify Installation below.
Breaking the broker docker run down piece by piece:
  • --pull=always — always fetch the latest image before starting, so you never run a stale version.
  • -d — runs the container detached (in the background), so your terminal stays free.
  • --name coreflux_broker — names the container so you can reference it later (for example docker logs coreflux_broker).
  • -p 1883:1883 -p 5000:5000 -p 9100:9100 — each -p host:container maps a port on your machine to the same port inside the container. See the port table above for what each one is for.
  • -v project-volume:/etc/project — mounts a named volume so your project (LoT, connectors, configuration) persists across restarts and image updates.
  • coreflux/coreflux-mqtt-broker:latest — the broker image, pulled from Docker Hub. The HUB image is coreflux/coreflux-hub:latest.
If you configure TLS certificates, expose these additional broker ports (8883 and 443):
See Broker Configuration for TLS setup.

Verify Installation

The quickest visual check is the Coreflux HUB in your browser. You can also confirm directly by connecting an MQTT client and seeing Coreflux’s system topics—that’s how the broker is actually used. Use the default credentials from the top of the page. For a Cloud Trial, use the address and login in Coreflux Fleet.
1

Open the HUB

Open the HUB for your install. For a Cloud Trial, open it from Coreflux Fleet in the portal. For Docker or Docker Compose, use http://localhost:3000. For the HUB desktop app, the window opens on its own.
Coreflux HUB login card listing local connections with Coreflux or MQTT broker badges, online status, identity, and Connect buttons, plus All and Starred filters and a New Connection buttonCoreflux HUB login card listing local connections with Coreflux or MQTT broker badges, online status, identity, and Connect buttons, plus All and Starred filters and a New Connection button

Coreflux HUB — choose a stored connection or click New Connection

2

Choose or create a connection

The login screen lists stored connections. Click Connect on a saved one, or click New Connection to add a broker.Fill in the broker fields, then enter the default credentials and click Connect. For a Cloud Trial, use the login shown in Coreflux Fleet. Optionally click Save connection so the HUB remembers this broker next time.
Coreflux HUB New Connection form with Local Hub, ws:// localhost port 5000 path mqtt, username root, Save connection, and Connect

New Connection — name the broker, set protocol, host, and port, then Connect

3

Confirm the dashboard loaded

After a successful login, you should see the HUB home screen with the bottom navigation bar.
Coreflux HUB dashboard with Start here pointing to the first navigation icon

Coreflux HUB after login — start from the first icon in the navigation bar

The status bar shows connector count and license info—the broker is reachable from the HUB.
4

Browse MQTT data

Select MQTT → Data Viewer. Expand $SYS/Coreflux in the Topic Tree—you should see broker topics such as Config, Version, and Resources updating live.
Coreflux HUB Data Viewer with Publish panel, Topic Tree, and tracked topic details

Data Viewer — Topic Tree, Publish panel, and live topic values

If verification fails

Pick the symptom that matches your setup:
If you can’t connect, confirm the broker is actually up using the tooling for your install method.For a Docker install, inspect the container:
For Docker Compose, use docker compose ps and docker compose logs -f from the directory that contains docker-compose.yml. The broker container is named coreflux-broker.For a service install, check the service status: sudo systemctl status coreflux-broker (Linux package install) or sc query CorefluxBroker (Windows).
Symptom: copy buttons in a Docker or Docker Compose HUB do nothing, and nothing lands on the clipboard. This happens when you open the HUB over plain HTTP on a LAN IP or host name, for example http://192.168.1.20:3000.Cause: browsers only give pages clipboard access in a secure context, which means HTTPS or localhost. Current HUB versions have no fallback for plain HTTP.Fix: serve the HUB over HTTPS through a reverse proxy that terminates TLS (for example nginx, Caddy, or Traefik) and open the https:// address. On the HUB’s own machine, open http://localhost:3000 instead. Until then, select the text and copy it with the keyboard. The desktop app is not affected.
Symptom: the HUB loads in some environments but not in a Docker-in-VM or remote setup.Fix: use the host’s actual address instead of localhost.
Symptom: the command errors with “cannot connect to the Docker daemon”.Fix: start Docker Desktop (or the Docker service) and run the command again.
Symptom: an error binding a port, e.g. 3000 or 1883 is already allocated.Fix: stop the process using that port, or remap the host side of the port (for example -p 1884:1883 on Docker, or change the left-hand port in docker-compose.yml).
Symptom: docker ps shows nothing after you start the broker.Fix: run docker logs coreflux_broker to see why it exited. For Compose, run docker compose logs broker from the directory that contains docker-compose.yml.
Symptom: the HUB at http://localhost:3000 fails to connect when Host is localhost, or shows Broker isn’t reachable.Fix: the HUB proxies MQTT from inside Docker. On New Connection, set Host to broker, Protocol mqtt://, Port 1883 (or Protocol ws://, Port 5000, Path mqtt).
Symptom: the HUB or an MQTT client fails to connect right after you start the trial.Fix: wait until Coreflux Fleet shows the broker as ready, then open the HUB from that page. Use the endpoint and login shown there for MQTT clients.

Next Steps

Getting Started

Create your first LoT Action in under 15 minutes.

VS Code Extension

Set up the LoT language extension for syntax highlighting.
Last modified on October 22, 2026