77%
Docker Hub's share of the container image registry market in 2026 ([selfhosting.sh](https://selfhosting.sh/research/state-of-self-hosting-2026/))

Self-hosted IoT hubs running in Docker containers now outpace cloud-first solutions in one crucial metric: control. With Docker Hub capturing 77% of the container image registry market (selfhosting.sh), the message is clear—containerization is the new normal for those who want flexibility and privacy in their connected environments.

Self-hosted IoT hubs with Docker containers are not a niche experiment anymore. As more devices crowd our homes and networks, open-source platforms like ThingsBoard and frameworks such as Con-Pi have made it possible to avoid vendor lock-in while scaling operations securely. Docker's dominance, paired with Alpine-based images favored by the community, shows that efficiency and minimalism are not just trends—they are requirements in 2026 (selfhosting.sh).

Docker Hub is the Backbone of IoT Containerization in 2026

Docker Hub holds a 77% share of the container image registry market, making it the primary distribution point for IoT container images (selfhosting.sh). For anyone building self-hosted IoT hubs with Docker containers, this is the ecosystem you cannot ignore. The sheer scale creates a baseline of reliability and speed for deploying images—from first pull to rolling updates.

Why does this matter? The answer is practical: when you’re managing dozens or hundreds of devices, you need a registry that won't become a bottleneck. Docker Hub’s prevalence means more pre-made images, more documentation, and less friction for both setup and troubleshooting.

💡
Pro Tip: Stick with Alpine-based images when possible—they’re favored for their smaller attack surfaces and pull quickly, which matters if you run updates on a fleet ([selfhosting.sh](https://selfhosting.sh/research/state-of-self-hosting-2026/)).

The community's clear preference for Alpine-based images is not just about size but also about security. Smaller images mean fewer moving parts, less bloat, and a reduced attack surface. You’ll notice faster deployments and less to patch when vulnerabilities inevitably pop up. Anyone still using bloated base images is simply making life harder.

Illustration of self-hosted IoT hubs outperforming cloud services in 2026, emphasizing self-hosting advantages

Zigbee2MQTT — Live Project Stats (verified 2026-11-02)

Metric Value Source
Docker pulls 129.1M Docker Hub · koenkk/zigbee2mqtt
GitHub stars 15,778 github.com/Koenkk/zigbee2mqtt
Forks 2,159 GitHub
Open issues 495 GitHub
Last updated 2026-11-01 GitHub
License GPL-3.0 GitHub

Figures pulled directly from the official Docker Hub and GitHub APIs on 2026-11-02. We re-verify these numbers on every update so they stay accurate.

Advertisement

→ See also: How to Start a Home Lab for Beginners?

Open Protocols Are the Only Way to Avoid IoT Vendor Lock-in

Most people get this wrong: proprietary protocols are not the price of admission for complex IoT setups. ThingsBoard, a leading open-source IoT platform, instead relies on open standards—MQTT, HTTP, and CoAP (wz-it.com). This deliberate choice ensures that devices and integrations remain portable, future-proof, and free from vendor lock-in.

When you self-host with Docker containers, you aren’t just gaining control of your data—you’re ensuring that your hardware and software investments won’t become obsolete as vendors pivot or disappear. Open protocols are your insurance policy. Want to migrate from ThingsBoard to another MQTT-compatible platform in three years? The protocol makes it possible, and Docker makes the transition practical.

For privacy advocates, this is the only sane way forward. The reality is that cloud IoT hubs lock you into their APIs and data pipelines, and you don’t get a vote on what happens next. With open protocols in containers, you keep your options open—and your data on your terms.

Docker containers enabling portable and disposable IoT hubs for self-hosted environments

Con-Pi Framework Delivers Real Performance on the Edge

The data shows that performance is not a theoretical benefit: the Con-Pi framework, purpose-built for distributed edge and fog computing, achieved 633 requests per second with 10,000 concurrent users and only 5.6% CPU usage (github.com). Containerized deployments aren’t just about convenience—they can deliver serious throughput on modest hardware.

This matters most at the edge, where you can’t always throw more resources at a problem. Con-Pi’s efficiency means you can run complex orchestrations, manage real-time data, and handle spikes in device traffic without melting down your Pi cluster or NUC farm.

⚠️
Common Mistake: Underestimating resource contention when running multiple containers on resource-constrained devices like Raspberry Pi. Efficiency gains are real, but limits still apply ([arxiv.org](https://arxiv.org/abs/2101.03533)).

You don’t get infinite scale for free, but with frameworks like Con-Pi and careful image selection, you get a level of efficiency that cloud VMs rarely match. The old argument that “containers are too heavy for IoT” simply doesn’t hold up in 2026.

Resource Management Is the Real Bottleneck for Self-Hosted IoT Hubs

Resource management is a perennial source of debate: running multiple Docker containers on resource-constrained devices (looking at you, Raspberry Pi) raises questions about performance ceilings and scalability (arxiv.org). The promise of running everything in containers is seductive, but the reality is that CPU and memory are still finite.

What actually happens is this: as you pile up Zigbee2MQTT, ThingsBoard, and a few data processing services, you’ll hit hardware walls fast if you don’t plan. Docker makes spinning up services trivial, but it won’t stop you from saturating your device. The challenge is to monitor, right-size, and, when needed, offload tasks to more capable nodes.

For home labbers and SMBs, spread your containers across multiple nodes. Don’t try to run your entire IoT stack on a single Pi. It’s technically possible, but every update or surge in device activity will feel like walking a tightrope in a windstorm. This is where Docker’s orchestration tools (think Compose or Swarm) earn their keep.

Containerized IoT security illustration emphasizing self-hosted, secure IoT device management and protection
Advertisement

→ See also: Building a Home Lab from Scratch

Zigbee2MQTT and Open-Source IoT: Integration Without Cost

Zigbee2MQTT is enabling true interoperability between Zigbee devices and MQTT brokers—without license fees (selfhostlab.io). It’s free to use and designed for containerized deployment. This tool is the bridge between low-cost wireless sensors and the sophisticated automations you want from a self-hosted IoT hub.

The actionable insight is clear: by running Zigbee2MQTT in Docker, you turn proprietary Zigbee hardware into open, automatable endpoints. This is what actually works. Not the fluffy advice you see everywhere about “openness” that still requires a cloud relay. Here, the relay is you.

You’ll notice that the best integrations come from sticking to open protocols and open-source tools—Zigbee2MQTT for device translation, ThingsBoard for orchestration, MQTT as the message bus. Throw in Docker for deployment and you’ve got an architecture that’s cheap, powerful, and (mostly) future-proof.

ThingsBoard as the Nerve Center: Free, Open, and Portable

ThingsBoard is an open-source IoT platform for data collection, processing, and device management—and it’s free (toolstock.net). The platform supports MQTT, HTTP, and CoAP, making it highly portable and integration-friendly (wz-it.com). In the Docker world, this means you can spin up a full-featured IoT nerve center with one command and customize it as you see fit.

What you get is more than just device dashboards. You get fine-grained control over telemetry, rule engines, alarms, and integrations. The open protocol support means you’re not stuck when your hardware changes or when you want to migrate to a different analytics backend.

💡
Pro Tip: For long-term viability, always choose platforms like ThingsBoard that support multiple open protocols. This reduces technical debt and makes future migrations a realistic, not painful, prospect.

You see a lot of platforms promising freedom, then locking you in with subtle dependencies. ThingsBoard, with its open approach, is the rare exception where you actually keep your freedom.

Comparison Table: Open-Source IoT Tools for Docker

ToolMain RoleProtocols SupportedPrice
Zigbee2MQTTZigbee to MQTT bridgeMQTTFree
ThingsBoardIoT platform / device managementMQTT, HTTP, CoAPFree
Con-Pi FrameworkDistributed edge/fog orchestrationCustom, DockerFree
Advertisement

→ See also: What Hardware Do I Need for a Home Lab

Alpine-Based Images: The Quiet Security Revolution in IoT Containers

The self-hosting community now favors Alpine-based images for deploying IoT tools—primarily due to their smaller attack surface and faster pull times (selfhosting.sh). This is not a theoretical win. It’s a strategic choice that addresses two recurring headaches: security and speed.

Larger images carry more libraries, more potential vulnerabilities, and longer update cycles. Alpine’s minimal base means less code to audit and patch. If you’ve ever spent a month chasing down obscure CVEs in a bloated Ubuntu-based container, you understand the appeal.

Speed matters too. Fast pulls mean less downtime during updates or rollbacks. In a 50-container environment, the difference between Alpine and a heavier base image is measured in minutes—not seconds—every time you update.

⚠️
Common Mistake: Mixing image bases in the same stack. This creates unpredictable security postures and complicates patch management. Standardize on Alpine where possible to reduce headaches later.

Alpine isn’t perfect, but its popularity is no accident. For self-hosted IoT hubs with Docker containers, it’s the pragmatic baseline.

The Controversy: Are Containers Too Heavy for Edge IoT?

The efficiency of running multiple containers on resource-constrained devices like Raspberry Pi is debated, with concerns about performance and scalability (arxiv.org). The argument goes like this: containers are more portable than bare metal or VMs, but introduce overhead that can strangle low-powered hardware.

But the actual performance data, especially from frameworks like Con-Pi (633 requests/sec on 5.6% CPU usage, even with 10,000 users), shows that, with the right choices, this overhead is manageable (github.com). The trick is to understand your hardware’s limits and match container count and complexity accordingly.

It’s easy to get seduced by the promise of infinite scale with containers. The reality is that you still need to measure, test, and sometimes offload workloads. Use Docker for orchestration and portability, but don’t pretend your Pi is a datacenter. It isn’t, and pretending otherwise always ends in reboots and regrets.

FAQ

What are the main benefits of self-hosted IoT hubs with Docker containers?
The main benefits include greater control over data and privacy, flexible deployment, reduced vendor lock-in due to open protocol support, and cost savings compared to cloud solutions. Docker makes deployment and scaling easier by standardizing environments.
Which IoT platforms are free and support Docker containers?
ThingsBoard, Zigbee2MQTT, and Con-Pi Framework are all free open-source platforms supporting Docker deployment. Each offers integration with open protocols and fits different parts of an IoT architecture.
Are Alpine-based Docker images really more secure for IoT?
Alpine-based Docker images are favored in the self-hosting community for their smaller attack surfaces, which means fewer vulnerabilities and faster patching cycles compared to larger images.
Can I run multiple IoT containers on a Raspberry Pi?
You can run multiple containers on a Raspberry Pi, but performance and scalability are debated due to resource constraints. It's crucial to monitor usage and not overload your device.
Advertisement

→ See also: Self Hosting Benefits

Closing: Control Isn’t a Luxury Anymore—It’s a Baseline

Self-hosted IoT hubs with Docker containers have crossed the line from hobbyist experiment to pragmatic necessity. In a world where cloud platforms move faster than your comfort with their privacy policies, and where every "feature" comes with a catch, running your own stack is no longer just about geek cred. It’s about keeping ownership of your devices, your data, and your destiny. The numbers—Docker Hub’s 77% market share, Alpine’s rise, Con-Pi’s edge efficiency—aren’t just stats; they’re signals. Ignore them, and you’re betting your infrastructure on the patience of companies that don’t know your needs. Control is the new default, and containers are the tool that make it real.

Sources

  1. selfhosting.sh/research/state-of-self-hosting-2026
  2. wz-it.com/en/knowledge/iot/thingsboard-vs-aws-iot-core
  3. github.com/tevfik/datum-server
  4. arxiv.org/abs/2101.03533
  5. selfhostlab.io/apps/zigbee2mqtt
  6. toolstock.net/tool/thingsboard
Viktor Marchenko
Viktor Marchenko
Expert Author

With years of experience in Self-Hosting by Viktor Marchenko, I share practical insights, honest reviews, and expert guides to help you make informed decisions.

Comments 0

Be the first to comment!