iobroker image for synology with macvlan
719
Docker image for ioBroker (http://iobroker.net) based on debian:latest (http://hub.docker.com/_/debian/)
This project creates a Docker image for running ioBroker in a Docker container. It is made for and tested on a Synology Disk Station 1515+ with DSM 6 and Docker-package installed. But it should also work on other systems with Docker (Normally I do a small additional test on my Debian-VM with Docker CE)!
Switching an existing installation from docker-iobroker-image v1 to v2 or greater means switching iobroker itself from node6 to node8! This requires additional steps inside ioBroker! After upgrading iobroker-container you have to call "reinstall.sh" for recompiling your installation for the use with node8. For Details see official ioBroker-documentation (http://www.iobroker.net/docu/?page_id=8323&lang=de). Make backup first!!!
At the moment v3.0.0 does no longer support running in host-mode on Synology-devices because of a kernel issue in actual DSM-kernel! Please use bridged or macvlan mode. For details see new tutorial linked in the following.
A detailed tutorial (german, based on new v3.0.0) can be found here: https://buanet.de. Please notice that the old tutorial 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.
In v3.0.0 I added some new features. The following will give some short information about that.
| 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 |
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 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).
I added some code for fixing permissions for new iobroker-user. Permission-fixing is called on first start of the container. This might take a few minutes. Please be patient!
MIT License
Copyright (c) 2017 Andre Germann
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Inspired by https://github.com/MehrCurry/docker-iobroker
Content type
Image
Digest
Size
317.3 MB
Last updated
about 7 years ago
docker pull willhoh/iobroker