Iobroker Docker Image
这是基于Debian Trixie和Node.js 24的ioBroker镜像,用于搭建智能家居自动化平台,支持设备集成与自动化控制,主要供个人私人使用,使用时需自行承担风险。
marcberg/iobroker
ioBroker image based on Debian Trixie and Node.js 24. This image keeps the established ioBroker Docker workflow, including persistent /opt/iobroker storage and runtime package customization through environment variables.
Docker Hub: https://hub.docker.com/r/marcberg/iobroker
Source: https://github.com/Marc-Berg/ioBroker.docker
This project is based on the established ioBroker Docker image architecture. Thank you to Buanet and the previous contributors for the foundation and years of maintenance that made this project possible.
Important note
New major image versions may include a new major Node.js version. Although js-controller should handle this kind of upgrade, some adapters may require a manual backup and restore procedure. See the maintenance documentation in this repository for details.
Quick reference
- Maintained by: https://github.com/Marc-Berg and https://github.com/ioBroker
- Where to get support: ioBroker forum, *** channel, *** group
- Where to report issues: https://github.com/Marc-Berg/ioBroker.docker/issues
- Supported architectures: amd64, arm32v7, arm64v8
- Changelog: https://github.com/Marc-Berg/ioBroker.docker/blob/main/CHANGELOG.md
- Source code: https://github.com/Marc-Berg/ioBroker.docker
- All other questions should be answered here: https://github.com/Marc-Berg/ioBroker.docker#readme or iobroker.net
Supported tags
It is highly recommended not to use the latest tag for production, especially when using any kind of automated update procedure like watchtower. Please use the latest-v[major_version] tag instead.
Current image
- Debian Trixie with Node.js 24
- https://hub.docker.com/r/marcberg/iobroker
- https://hub.docker.com/r/marcberg/iobroker
What is ioBroker?
IoBroker is an open source IoT platform written in JavaScript that easily connects smarthome components from different manufactures. With the help of plugins (called: "adapters") ioBroker is able to communicate with a big variety of IoT hardware and services using different protocols and APIs.
All data is stored in a central database that all adapters can access. With this it is very easy to build up logical connections, automation scripts and beautiful visualizations.
For further details please check out iobroker.net.
How to use this image?
Quick Start (for testing)
To quickly try out ioBroker in Docker, simply run:
docker run -p 8081:8081 --name iobroker -h iobroker marcberg/iobroker
Note:
All data and settings will be lost when the container is removed or recreated. For production use, always use persistent storage (see below).
Production Setup with Docker Compose
For a persistent and production-ready setup, use Docker Compose and mount a volume for your data:
yamlservices: iobroker: container_name: iobroker image: marcberg/iobroker hostname: iobroker restart: always ports: - "8081:8081" volumes: - iobrokerdata:/opt/iobroker environment: - TZ=Europe/Berlin volumes: iobrokerdata:
Tip:
Depending on your adapters, you may need to expose additional ports or use a different network mode (e.g. network_mode: host).
See the Networking section for more details.
Persistent Data
To keep your ioBroker configuration and data, always mount a volume or path to /opt/iobroker:
Command-line:
-v iobrokerdata:/opt/iobroker
Docker Compose:
yamlvolumes: - iobrokerdata:/opt/iobroker
Configuration via Environment Variables
You can use environment variables to automatically configure your ioBroker container at startup.
Application Configuration
IOB_ADMINPORT(optional, default: 8081) – Set ioBroker admin port on startupIOB_BACKITUP_EXTDB(optional) – Settrueto enable external database backup in the Backitup adapter.IOB_MULTIHOST(optional) – Set to "master" or "slave" for multihost support (requires additional config for objectsdb and statesdb)IOB_OBJECTSDB_TYPE(optional, default: jsonl) – Type of objects DB: "jsonl", "file" (deprecated), or "redis"IOB_OBJECTSDB_HOST(optional, default: 127.0.0.1) – Host for objects DB (comma-separated for Redis Sentinel)IOB_OBJECTSDB_PORT(optional, default: 9001) – Port for objects DB (comma-separated for Redis Sentinel)IOB_OBJECTSDB_PASS(optional) – Password for Redis DBIOB_OBJECTSDB_NAME(optional, default: mymaster) – Redis Sentinel DB nameIOB_STATESDB_TYPE(optional, default: jsonl) – Type of states DB: "jsonl", "file" (deprecated), or "redis"IOB_STATESDB_HOST(optional, default: 127.0.0.1) – Host for states DB (comma-separated for Redis Sentinel)IOB_STATESDB_PORT(optional, default: 9000) – Port for states DB (comma-separated for Redis Sentinel)IOB_STATESDB_PASS(optional) – Password for Redis DBIOB_STATESDB_NAME(optional, default: mymaster) – Redis Sentinel DB name
Special Features
AVAHI(optional) – Settrueto install and activate avahi-daemon (for yahka adapter support)
Environment Configuration
DEBUG(optional) – Settruefor extended logging on container startupLANG(optional, default: de_DE.UTF-8) – Pre-generated: de_DE.UTF-8, en_US.UTF-8LANGUAGE(optional, default: de_DE:de) – Pre-generated: de_DE:de, en_US:enLC_ALL(optional, default: de_DE.UTF-8) – Pre-generated: de_DE.UTF-8, en_US.UTF-8OFFLINE_MODE(optional) – Settrueif your container has no or limited internet connectionPACKAGES(optional) – Install additional Linux packages (space-separated list)PACKAGES_UPDATE(optional) – Settrueto update Linux packages on first startPERMISSION_CHECK(optional, default: true) – Set "false" to skip permission checks/corrections (use at your own risk)SETGID(default: 1000) – Set the GID for the iobroker user (to match a group on the host)SETUID(default: 1000) – Set the UID for the iobroker user (to match a user on the host)TZ(optional, default: Europe/Berlin) – Set the timezone (any valid Linux timezone)USBDEVICES(optional) – Set permissions for mounted devices (e.g./dev/ttyACM0, separate multiple devices with ";")
Notes about Docker Networks
The above examples use Docker's default bridge network. In many cases, it is better to use a user-defined bridge network.
See https://docs.docker.com/network/bridge/#differences-between-user-defined-bridges-and-the-default-bridge.
A bridge network works for most adapters if you map all required ports.
However, some adapters require Multicast or Broadcast) for device discovery.
In these cases, *** using https://docs.docker.com/network/host/ or https://docs.docker.com/network/macvlan/ networking.
For more information, see the https://docs.docker.com/network/.
Support the Project
If you like what you see please leave us stars and likes on our repos and join our growing community.
See you soon. :)
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 iobroker 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务