iobroker

Iobroker Docker Image

这是基于Debian Trixie和Node.js 24的ioBroker镜像,用于搭建智能家居自动化平台,支持设备集成与自动化控制,主要供个人私人使用,使用时需自行承担风险。

下载次数: 0状态:社区镜像维护者:marcberg仓库类型:镜像最近更新:
下载命令
点击查看

marcberg/iobroker

ioBroker image based on node:24-trixie-slim (Debian 13). Continuation of the https://github.com/buanet/ioBroker.docker image.

  • Source and issues: https://github.com/Marc-Berg/ioBroker.docker
  • Changelog: https://github.com/Marc-Berg/ioBroker.docker/blob/HEAD/CHANGELOG.md
  • Support: https://github.com/Marc-Berg/ioBroker.docker/discussions, ioBroker forum

Tags

Use latest-v[major] for production, not latest (especially with automatic updaters like watchtower). A new major version may bring a new Node.js major version; some adapters then need a manual backup and restore.

  • latest-v12 (Debian Trixie, Node.js 24)
  • latest

Usage

Test run (data is lost when the container is removed):

docker run -p 8081:8081 --name iobroker -h iobroker marcberg/iobroker

Persistent setup with Docker Compose. Always keep /opt/iobroker on a volume or bind mount:

yaml
services:
  iobroker:
    container_name: iobroker
    image: marcberg/iobroker
    hostname: iobroker
    restart: always
    ports:
      - "8081:8081"
    volumes:
      - iobrokerdata:/opt/iobroker
    environment:
      - TZ=Europe/Berlin

volumes:
  iobrokerdata:

Environment variables

Application

  • IOB_ADMINPORT (optional, default: 8081) – Set ioBroker admin port on startup
  • IOB_BACKITUP_EXTDB (optional) – Set true to 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 DB
  • IOB_OBJECTSDB_NAME (optional, default: mymaster) – Redis Sentinel DB name
  • IOB_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 DB
  • IOB_STATESDB_NAME (optional, default: mymaster) – Redis Sentinel DB name

Special features

  • AVAHI (optional) – Set true to install and activate avahi-daemon (for yahka adapter support)

Environment

  • DEBUG (optional) – Set true for extended logging on container startup
  • LANG (optional, default: de_DE.UTF-8) – Pre-generated: de_DE.UTF-8, en_US.UTF-8
  • LANGUAGE (optional, default: de_DE:de) – Pre-generated: de_DE:de, en_US:en
  • LC_ALL (optional, default: de_DE.UTF-8) – Pre-generated: de_DE.UTF-8, en_US.UTF-8
  • OFFLINE_MODE (optional) – Set true if your container has no or limited internet connection
  • PACKAGES (optional) – Install additional Linux packages (space-separated list)
  • PACKAGES_UPDATE (optional) – Set true to update Linux packages on first start
  • PERMISSION_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 ";")

Networking

A bridge network with mapped ports works for most adapters. Adapters that need multicast or broadcast for device discovery require https://docs.docker.com/network/host/ or https://docs.docker.com/network/macvlan/ networking.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 iobroker 镜像标签

docker pull docker.xuanyuan.run/marcberg/iobroker:<标签>

DockerHub 原生拉取命令

docker pull marcberg/iobroker:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告