Based on : https://github.com/buanet/docker-iobroker
IoBroker for Docker is an Dockerimage for ioBroker (http://iobroker.net) smarthome software.
A detailed tutorial (german, based on v3.0.0) can be found here: https://buanet.de. Please notice that the old tutorial is outdated and does no longer work!
For discussion and support please visit ioBroker-forum-thread or use the comments section at the linked tutorial. Please do not contact me directly for any support-reasons. Every support-question should be answered in a public place. Thank you.
The following will give a short overview.
Since v3 is possible to set some environment variables to configure a new container.
| env | value | description |
|---|---|---|
| PACKAGES | package1 package2 package2 | seperateed by whitespace; will install the listed packages on startup (be paitient, this may take some time!) |
| AVAHI | true | will install and activate avahi-daemon for supporting yahka-adapter |
| LANGUAGE | de_DE:de | following locales are pre-generated: de_DE:de, en_US:en |
| LANG | de_DE.UTF-8 | following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8 |
| LC_ALL | de_DE | following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8 |
| TZ | Europe/Berlin | all valid Linux-timezones |
| SETUID | 1000 | for security reasons it might be useful to specify the uid of the containers iobroker user to match an existing user on the docker host |
| SETGID | 1000 | for security reasons it might be useful to specify the gid of the containers iobroker user to match an existing group on the docker host |
| ZWAVE | false | will install openzwave to support zwave-adapter |
It is now possible to mount an empty folder to /opt/iobroker during first startup of the container. The Startupscript will check this folder and restore content if it is empty.
It is absolutely recommended to use a mounted folder or persistent volume for /opt/iobroker folder!
This also works with mounting a folder containing an existing ioBroker-installation (e.g. when moving an existing installation to docker).
After some issues with permissions related to the use of a dedicated user for ioBroker, I added some code for fixing permissions on container startup. This might take a few minutes on first startup. Please take a look at the logs and be patient!
Inspired by https://github.com/buanet/docker-iobroker
Content type
Image
Digest
Size
705.2 MB
Last updated
almost 7 years ago
docker pull beejay/iobroker