{"product_id":"kit-linux-docker-iot-gateway-with-mqtt-broker","title":"Linux Docker IoT Gateway with MQTT Broker","description":"\u003ch1\u003eMaster Industrial IoT: Docker MQTT Gateway with Arduino Portenta X8 and Node-RED\u003c\/h1\u003e\n\n\u003cp class=\"value-summary\"\u003eEvery part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.\u003c\/p\u003e\n\n\u003cdiv class=\"specs-strip\"\u003e\n  \u003cspan\u003e\u003cstrong\u003eDifficulty:\u003c\/strong\u003e Advanced\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eBuild Time:\u003c\/strong\u003e 10-12 hrs\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eAge:\u003c\/strong\u003e 25+\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eSkill:\u003c\/strong\u003e Industrial IoT system integration\u003c\/span\u003e\n\u003c\/div\u003e\n\n\u003cp\u003eThis kit guides you through building a secure, scalable IoT data pipeline entirely at the edge. You’ll configure a Mosquitto MQTT broker and Node-RED inside Docker containers on the Portenta X8’s Linux core, while the onboard STM32 M4 microcontroller reads analog sensor data from environmental and current sensors and publishes telemetry to the broker over internal serial. The result is a DIN-rail mountable gateway ready for smart factory or energy monitoring deployments.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You'll Build\u003c\/h2\u003e\n\u003cp\u003eA fully containerized IoT gateway that collects, processes, and routes sensor data using industry-standard tools—without relying on cloud connectivity for edge logic. You’ll have a physical device that can monitor temperature, humidity, pressure, and AC current, publishing structured MQTT messages viewable from any dashboard. The gateway runs 24\/7 on 24V DC, housed in a DIN-rail enclosure for professional installations.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You'll Learn\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eDeploy and manage Docker containers with docker-compose on an ARM Linux embedded system\u003c\/li\u003e\n  \u003cli\u003eConfigure Mosquitto MQTT broker with authentication and topic-based routing\u003c\/li\u003e\n  \u003cli\u003eProgram the STM32 M4 core using Arduino IDE or Mbed OS to read I2C and analog sensors and send serial data to Linux\u003c\/li\u003e\n  \u003cli\u003eBuild Node-RED flows to transform MQTT messages and trigger alerts or database logging\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eKit Contents\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eComponent\u003c\/th\u003e\n\u003cth\u003eQuantity\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eArduino Portenta X8\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePortenta Max Carrier\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDHT22\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eBMP280\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eACS712 5A\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eLM2596 Buck Converter\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e4.7kΩ Resistors\u003c\/td\u003e\n\u003ctd\u003e5\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e100nF Capacitors\u003c\/td\u003e\n\u003ctd\u003e10\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePCB Prototype Board\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDIN Rail Enclosure\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e24V 3A PSU\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSoldering Iron\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSolder Wire\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhy Buy This Kit Instead of Sourcing Parts Separately\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eFactor\u003c\/th\u003e\n\u003cth\u003eSourcing Separately\u003c\/th\u003e\n\u003cth\u003eCompoden Kit\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eCompatibility checks\u003c\/td\u003e\n\u003ctd\u003eYou verify every part\u003c\/td\u003e\n\u003ctd\u003ePre-tested as a system\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eBuild support\u003c\/td\u003e\n\u003ctd\u003eForums and scattered tutorials\u003c\/td\u003e\n\u003ctd\u003eAI companion trained on this exact project\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eTime to first working build\u003c\/td\u003e\n\u003ctd\u003eDays of debugging\u003c\/td\u003e\n\u003ctd\u003eHours, with step-by-step guidance\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eShipping coordination\u003c\/td\u003e\n\u003ctd\u003eMultiple sellers, multiple delays\u003c\/td\u003e\n\u003ctd\u003eOne shipment from Bengaluru in 3-5 days\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWho This Kit Is For\u003c\/h2\u003e\n\u003cp\u003eThis kit is designed for B.Tech ECE\/EEE final-year students, M.Tech embedded systems researchers, and working engineers seeking hands-on experience with containerized edge infrastructure. It’s ideal for Smart India Hackathon participants tackling industrial IoT themes and professionals at IIT\/NIT\/BITS labs prototyping smart factory monitoring. If you already know microcontroller basics and want to move into Linux-based gateways, this is your bridge.\u003c\/p\u003e\n\n\u003ch2\u003eBuilt and Backed by Compoden\u003c\/h2\u003e\n\u003cp\u003eEvery Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.\u003c\/p\u003e\n\n\u003cdetails\u003e\u003csummary\u003eCan I run other Docker containers like InfluxDB or Grafana on this hardware?\u003c\/summary\u003e\u003cp\u003eYes, the Portenta X8’s Linux environment supports additional ARM-compatible containers. Our AI companion includes example docker-compose files to add time-series storage and dashboards.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eDoes the kit include pre-flashed software?\u003c\/summary\u003e\u003cp\u003eThe kit provides complete source code and instructions to flash both the STM32 M4 firmware and the Linux Docker environment. The AI companion walks you through each step, with preset configurations for quick setup.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eIs this suitable for 24\/7 industrial deployment?\u003c\/summary\u003e\u003cp\u003eWith the DIN rail enclosure and 24V industrial power supply, the finished build is mechanically ready for control cabinets. The software stack uses authentication and persistent volumes for reliable operation.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eWhat if my Portenta X8's Linux system doesn't boot?\u003c\/summary\u003e\u003cp\u003eOur support team can guide you through reflashing the board’s eMMC via USB recovery. The AI companion includes troubleshooting guides for common startup issues, and you can reach us on WhatsApp.\u003c\/p\u003e\u003c\/details\u003e\n\n\u003cdiv class=\"kit-description\"\u003e\n  \u003cp\u003eMosquitto MQTT + Node-RED in Docker containers on X8 Linux. STM32 M4 reads sensors and publishes to broker.\u003c\/p\u003e\n  \u003ch4\u003eWhat's in this kit\u003c\/h4\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/industrial-ph-sensor-module-for-arduino-esp32-raspberry-pi\"\u003eArduino Portenta X8\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/portenta-mid-carrier-industrial-io-board-for-arduino-portenta\"\u003ePortenta Max Carrier\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/dht22-temperature-humidity-sensor-module-accurate-readings\"\u003eDHT22\u003c\/a\u003e x2\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/bmp280-barometric-pressure-temperature-sensor-module-compodenin\"\u003eBMP280\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/acs712-5a-current-sensor-module-precise-hall-effect-measurement\"\u003eACS712 5A\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/lm2596-buck-converter-step-down-voltage-regulator-module\"\u003eLM2596 Buck Converter\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/resistor-variety-pack-100-pcs-10-values-14w-carbon-film\"\u003e4.7kΩ Resistors\u003c\/a\u003e x5\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/capacitor-variety-pack-6-values-100nf-to-470uf-30-pieces\"\u003e100nF Caps\u003c\/a\u003e x10\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/esp-wroom-32-breakout-board-pcb-55x52mm\"\u003ePCB Prototype Board\u003c\/a\u003e x2\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/vs1053-mp3-recording-module-for-arduino-spi-audio-codec\"\u003eDIN Rail Enclosure\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/xkc-y26-pnp-24v-non-contact-liquid-level-sensor-compoden\"\u003e24V 3A PSU\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/soldering-kit-25w-with-solder-wire-flux-paste-compoden\"\u003eSoldering Iron\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/soldering-kit-25w-with-solder-wire-flux-paste-compoden\"\u003eSolder Wire\u003c\/a\u003e\u003c\/li\u003e\n  \u003c\/ul\u003e\n\u003c\/div\u003e\n\n\u003cscript type=\"application\/ld+json\"\u003e\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"What is included in the Linux Docker IoT Gateway with MQTT Broker?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"The Linux Docker IoT Gateway with MQTT Broker includes all components needed: Arduino Portenta X8, Portenta Ma, DHT22, BMP280, ACS712 5A and more. Everything is pre-tested for compatibility and shipped from Bengaluru, India.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"What skill level is required for the Linux Docker IoT Gateway with MQTT Broker?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"This kit is designed for Expert level makers, suitable for ages 25+. Mosquitto MQTT + Node-RED in Docker containers on X8 Linux. STM32 M4 reads sensors and publishes to broker. Estimated build time is 10-12 hrs.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Can I buy the Linux Docker IoT Gateway with MQTT Broker online in India?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Yes, the Linux Docker IoT Gateway with MQTT Broker is available online at Compoden (compoden.in), India's AI-powered electronics and robotics store. Ships from Bengaluru in 1-5 business days across India.\"\n      }\n    }\n  ]\n}\n\u003c\/script\u003e\n\n\u003cscript type=\"application\/ld+json\"\u003e\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"Product\",\n  \"name\": \"Linux Docker IoT Gateway with MQTT Broker\",\n  \"description\": \"Mosquitto MQTT + Node-RED in Docker containers on X8 Linux. STM32 M4 reads sensors and publishes to broker.\",\n  \"sku\": \"CDN-KIT-1066\",\n  \"brand\": {\"@type\": \"Brand\", \"name\": \"Compoden\"},\n  \"offers\": {\n    \"@type\": \"Offer\",\n    \"url\": \"https:\/\/compoden.in\/products\/kit-linux-docker-iot-gateway-with-mqtt-broker\",\n    \"priceCurrency\": \"INR\",\n    \"price\": \"26995\",\n    \"availability\": \"https:\/\/schema.org\/InStock\",\n    \"seller\": {\"@type\": \"Organization\", \"name\": \"Compoden\"}\n  },\n  \"category\": \"AI \u0026 Advanced Boards\"\n}\n\u003c\/script\u003e\u003cp\u003e\u003cstrong\u003eChoose your assembly option:\u003c\/strong\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eSoldering Kit\u003c\/strong\u003e — 25W soldering iron, 60\/40 solder wire, flux, and small perfboard for permanent assembly.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBreadboard Combo\u003c\/strong\u003e — 800-point full-size breadboard with 65-piece jumper wire pack for solderless prototyping.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Compoden","offers":[{"title":"Soldering Kit","offer_id":53459826934125,"sku":"CDN-KIT-1066-SLD","price":30290.0,"currency_code":"INR","in_stock":true},{"title":"Breadboard Combo","offer_id":53459826966893,"sku":"CDN-KIT-1066-BB","price":29690.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/kit-linux-docker-iot-gateway-with-mqtt-broker.png?v=1781946402","url":"https:\/\/compoden.com\/products\/kit-linux-docker-iot-gateway-with-mqtt-broker","provider":"Compoden","version":"1.0","type":"link"}