Sign inSign up

11notes/zigbee2mqtt

By 11notes

โ€ขUpdated about 16 hours ago

run zigbee2mqtt rootless and distroless.

Buildkit cache
Image
0

3.8K

11notes/zigbee2mqtt repository overview

banner

โ ZIGBEE2MQTT

size5pxpulls5px5pxswiss_made

run zigbee2mqtt rootless and distroless.

โ INTRODUCTION ๐Ÿ“ข

Zigbee2MQTTโ  (created by koenkkโ ) allows you to use your Zigbee devices without the vendor's bridge or gateway. It bridges events and allows you to control your Zigbee devices via MQTT. In this way you can integrate your Zigbee devices with whatever smart home infrastructure you are using.

โ SYNOPSIS ๐Ÿ“–

What can I do with this? This image will run Zigbee2mqtt rootlessโ  and distrolessโ  for more security and convenience.

โ UNIQUE VALUE PROPOSITION ๐Ÿ’ถ

Why should I run this image and not the other image(s) that already exist? Good question! Because ...

  • ... this image runs rootlessโ  as 1000:1000
  • ... this image has no shell since it is distrolessโ 
  • ... this image is auto updated to the latest version via CI/CD
  • ... this image has a health check
  • ... this image runs read-only
  • ... this image is automatically scanned for CVEs before and after publishing
  • ... this image is created via a secure and pinned CI/CD process
  • ... this image is very small
  • ... this image has it's own helm chartโ 
  • ... this image has a terraform scriptโ 

If you value security, simplicity and optimizations to the extreme, then this image might be for you.

โ COMPARISON ๐Ÿ

Below you find a comparison between this image and the most used or original one.

imagesize on diskinit default asdistrolessโ supported architectures
11notes/zigbee2mqtt99MB1000:1000โœ…amd64, arm64
koenkk/zigbee2mqtt147MB0:0โŒ386, amd64, arm64, armv6, armv7, riscv64

โ VOLUMES ๐Ÿ“

  • /zigbee2mqtt/etc - Directory of your configuration, database and other files

โ COMPOSE โœ‚๏ธ

name: "iot"

x-lockdown: &lockdown
  # prevents write access to the image itself
  read_only: true
  # prevents any process within the container to gain more privileges
  security_opt:
    - "no-new-privileges=true"

services:
  zigbee2mqtt:
    image: "11notes/zigbee2mqtt:2.14.2"
    <<: *lockdown
    environment:
      TZ: "Europe/Zurich"
    networks:
      frontend:
    volumes:
      - "zigbee2mqtt.etc:/zigbee2mqtt/etc"
    restart: "always"

volumes:
  zigbee2mqtt.etc:

networks:
  frontend:

To find out how you can change the default UID/GID of this container image, consult the RTFMโ .

โ DEFAULT SETTINGS ๐Ÿ—ƒ๏ธ

ParameterValueDescription
userdockeruser name
uid1000user identifierโ 
gid1000group identifierโ 
home/zigbee2mqtthome directory of user docker

โ ENVIRONMENT ๐Ÿ“

ParameterValueDefault
TZTime Zoneโ 
DEBUGWill activate debug option for container image and app (if available)

โ MAIN TAGS ๐Ÿท๏ธ

These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.

โ There is no latest tag, what am I supposed to do about updates?

It is my opinion that the :latest tag is a bad habbit and should not be used at all. Many developers introduce breaking changes in new releases. This would messed up everything for people who use :latest. If you donโ€™t want to change the tag to the latest semverโ , simply use the short versions of semverโ . Instead of using :2.14.2 you can use :2 or :2.14. Since on each new version these tags are updated to the latest version of the software, using them is identical to using :latest but at least fixed to a major or minor version. Which in theory should not introduce breaking changes.

If you still insist on having the bleeding edge release of this app, simply use the :rolling tag, but be warned! You will get the latest version of the app instantly, regardless of breaking changes or security issues or what so ever. You do this at your own risk!

โ REGISTRIES โ˜๏ธ

docker pull 11notes/zigbee2mqtt:2.14.2
docker pull ghcr.io/11notes/zigbee2mqtt:2.14.2
docker pull quay.io/11notes/zigbee2mqtt:2.14.2

โ SOURCE ๐Ÿ’พ

โ PARENT IMAGE ๐Ÿ›๏ธ

This image is not based on another image but uses scratchโ  as the starting layer. The image consists of the following distroless layers that were added:

โ BUILT WITH ๐Ÿงฐ

โ GENERAL TIPS ๐Ÿ“Œ

  • Use a reverse proxy like Traefik, Nginx, HAproxy to terminate TLS and to protect your endpoints
  • Use Letโ€™s Encrypt DNS-01 challenge to obtain valid SSL certificates for your services

โ ElevenNotesโ„ข๏ธ

This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the releasesโ  for breaking changes. If you have any problems with using this image simply raise an issueโ , thanks. If you have a question or inputs please create a new discussionโ  instead of an issue. You can find all my other repositories on githubโ .

created 12.10.2026, 22:22:19 (CET)

Tag summary

Content type

Image

Digest

sha256:6b5cef9c7โ€ฆ

Size

47.3 MB

Last updated

about 16 hours ago

docker pull 11notes/zigbee2mqtt:2.14.2-nobody