iobroker
Container
IoBroker is a 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.
Image details
Configuration
TypeContainerlinuxbuanet/iobroker:latest8081:8081/tcp/opt/iobroker : /portainer/Files/AppData/Config/iobrokerdataPUID=1000PGID=1000unless-stoppedTemplate by novaspirit
Notes
Check our Github page: https://github.com/pi-hosted/pi-hosted
Official Webpage: https://github.com/buanet/ioBroker.docker
Official Docker Documentation: https://github.com/buanet/ioBroker.docker
Standalone Install
Select an install method, to see config/commands for deploying iobroker
Install on Portainer
Import all app templates into your Portainer instance, for easy 1-click deploys
- Ensure both Docker and Portainer are installed, and up-to-date
- Log into your Portainer web UI
- Under Settings → App Templates, paste the below URL
- Head to Home → App Templates, and the list of apps will show up
- Select iobroker, fill in any config options, and hit Deploy
Template Import URL
https://raw.githubusercontent.com/Lissy93/portainer-templates/main/templates.json
Show Me
More install options in our documentation.

Important note
New major image versions (e.g. v6, v7, v8) usually include a new major version of node! Although js-controller should handle this kind of upgrade fine, in some cases this still results in problems with some adapters. To avoid having trouble with this major version upgrades, it is always a good move to upgrade your container manually with backup and restore procedure. For more details please see the maintenance part of the ioBroker Docker image docs.Quick reference
- Maintained by: buanet and ioBroker
- Where to get support: ioBroker forum, Discord channel, Facebook group
- Where to report issues: Github Repository Issues
- Supported architectures: amd64, arm32v7, arm64v8
- Changelog: Github Repository Changelog
- Source code: Github Repository
- All other questions should be answered here: ioBroker Docker image docs or iobroker.net
Supported tags
It is highly recommended not to use thelatest tag for production, especially when using any kind of automated update procedure like watchtower. Please use the latest-v[major_version] tag instead.Node 22 versions
Node 20 versions
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 buanet/iobrokerNote:
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:services:
iobroker:
container_name: iobroker
image: buanet/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:
volumes:
- iobrokerdata:/opt/iobrokerConfiguration 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 (see docs)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: deDE.UTF-8) – Pre-generated: deDE.UTF-8, enUS.UTF-8LANGUAGE(optional, default: deDE:de) – Pre-generated: deDE:de, enUS:enLC_ALL(optional, default: deDE.UTF-8) – Pre-generated: deDE.UTF-8, enUS.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 Docker docs: bridge differences.
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, consider using host or MACVLAN networking.
For more information, see the official Docker networking documentation.
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. :)
Serve iobroker on your own domain behind Caddy, Nginx or Traefik. Fill in your domain and copy the result. It's a starting point, some apps need their own base URL or extra headers set too.
Proxying iobroker.example.com to http://iobroker:8081
Add this to your Caddyfile
iobroker.example.com {
reverse_proxy http://iobroker:8081
}Check the logs first
Nine times out of ten the logs tell you exactly what went wrong.
- In Portainer, go to Containers, click the container, then Logs. Or run
docker logs iobroker - Exit codes help too:
137means killed, usually out of memory.126or127means the command inside the image is broken.
Port already in use
If deployment fails with "Bind for 0.0.0.0:8081 failed: port is already allocated", something else on your server is using that port.
- Find what's using it:
sudo ss -tlnp | grep :8081 - Stop the other service, or pick a different host port. In
8081:8081only the left number is yours to change, the right one belongs to the app.
Running but the page won't load
The container is up but nothing appears in your browser.
- Use your server's real IP:
http://your-server-ip:8081. The 0.0.0.0 link Portainer shows isn't a real address. - Give it a minute after first deploy, iobroker can take a while to initialise.
- Make sure your firewall allows the port, e.g.
sudo ufw allow 8081
Permission denied on volumes
If the logs show "permission denied", the app can't write to its data folder on the host.
- Fix the ownership:
sudo chown -R 1000:1000 /portainer/Files/AppData/Config/iobrokerdata - Or set the
PUIDandPGIDvariables (defaults 1000:1000) to match your own user, found withid $USER
Image won't pull
Test the pull directly on the host: docker pull buanet/iobroker:latest
- "manifest unknown" means the tag no longer exists. This template uses
latest, so try pinning a specific version instead. - "toomanyrequests" is the Docker Hub rate limit. Log in with
docker loginto raise it. - "no space left on device" means a full disk. Reclaim space with
docker system prune
"exec format error"
This means the image was built for a different CPU architecture than your server.
- This image supports:
amd64, arm64, arm/v7 - Check yours with
uname -m: x86_64 is amd64, aarch64 is arm64. Raspberry Pi and other ARM boards are the usual culprits.
Container keeps restarting
The unless-stopped restart policy relaunches the app after every crash, so the real error can scroll past.
- Check the logs right after a restart, the last few lines before it died are the useful ones.
- Get the exit code with
docker inspect iobroker --format '{{.State.ExitCode}}' - Still stuck? Redeploy once with the restart policy set to
noso the failure stays visible.
Raise an issue
Found something which isn't working as it should? Here's how to report it.
- Bug within the app: Open an issue within iobroker's repo
- Template not working: Open an issue on novaspirit/pi-hosted
- This website not working: Open an issue on lissy93/portainer-templates
A single container
iobroker runs as one container, the simplest kind of app here. Just the one image to pull and nothing else wired up alongside it.
The app image
An image is the app packed up ready to go, everything iobroker needs bundled into one download. This template pulls buanet/iobroker:latest, which Docker fetches once (about 496 MB) and then starts your own copy from.
Where the image comes from
Docker pulls its images from registries, public libraries of ready-built apps. iobroker's comes from Docker Hub, published by buanet.
Version tags
The bit after the colon in the image name is the version tag. Here it's latest, which always points at the newest build, so a redeploy can bump you to a newer release without you asking. Newest right now is v11.1.0-build.20260806.005917. Pin a specific tag if you would rather stay on one version.
Which machines it runs on
Every image is built for particular CPU types. This one ships for amd64, arm64, arm/v7, so it runs on both regular x86 servers and ARM boards like a Raspberry Pi.
Ports
A port is the door the app answers on. A mapping like 8081:8081 means it's reachable on port 8081 of your server, where the left number is yours to change and the right one belongs to the app. It opens:
8081:8081
Volumes
A volume is where iobroker keeps its files so they survive an update or a restart. Without one, anything it saves would sit inside the container and vanish the moment it's recreated. This template mounts:
/opt/iobrokerfrom/portainer/Files/AppData/Config/iobrokerdataon the host
Environment variables
Environment variables are the settings you hand over when you deploy, things like a password or a timezone. iobroker takes 2 of them, all with defaults you can leave alone or tweak:
PUID, defaults to1000PGID, defaults to1000
Restart policy
The restart policy here is unless-stopped, so Docker restarts iobroker after a crash or reboot, but leaves it off when you stop it on purpose. You can change this on the deploy screen. The choices are no (never restart), on-failure (only after a crash), unless-stopped (restart unless you stop it), and always (bring it back no matter what).
Users and permissions
The PUID and PGID settings tell it which user and group to act as on your host. Point them at your own account (find yours with id $USER) so the files it writes into your mounted folders come out owned by you rather than root.
Networking
Nothing custom is set, so iobroker sits on Docker's default bridge network: its own private space that reaches the outside world only through the ports it publishes.
Container name
Once it's deployed, Portainer names the container iobroker. That's what you'll spot in the containers list and use in commands like docker logs iobroker.
Platform
The platform is linux, the kind of system the container is built to run on. Docker and Portainer handle this on a normal Linux server.
Portainer app templates
Zooming out, this whole page comes from a Portainer app template: a short recipe telling Portainer how to set iobroker up. Add the template list to Portainer once, then deploying iobroker is a click rather than a wall of config.