Hallo,
ich versuche gerade homegear in docker zum laufen zu kriegen.
dazu hab ich debian als basis genommen und und homegear aus den sourcen installiert.
Danach starte ich den container mit
[quote]docker run -ti -p 2001:2001 --name homegear -v /var/lib/homegear/:/var/lib/homegear --privileged -v /etc/homegear/physicalinterfaces.conf:/etc/homegear/physicalinterfaces.conf shb256/homegear /bin/bash
[/quote]
und danach versuche ich auf die homegear console zuzugreifen.
[quote]root@0be5aff23fc0:/# /etc/init.d/homegear start
06/22/15 10:54:27.725 Info: Loading family module mod_miscellaneous.so
06/22/15 10:54:27.733 Info: Loading family module mod_homematicwired.so
06/22/15 10:54:27.742 Info: Loading family module mod_philipshue.so
06/22/15 10:54:27.749 Info: Loading family module mod_insteon.so
06/22/15 10:54:27.758 Info: Loading family module mod_max.so
06/22/15 10:54:27.766 Info: Loading family module mod_homematicbidcos.so
06/22/15 10:54:27.776 Module HomeMatic BidCoS: LAN-Konfigurationsadapter “My-HM-CFG-LAN”: Info: Enabling AES encryption for communication with HM-CFG-LAN.
06/22/15 10:54:27.778 Info: Disposing family module mod_philipshue.so
06/22/15 10:54:27.778 Info: Disposing family module mod_miscellaneous.so
06/22/15 10:54:27.778 Info: Disposing family module mod_max.so
06/22/15 10:54:27.778 Info: Disposing family module mod_insteon.so
06/22/15 10:54:27.778 Info: Disposing family module mod_homematicwired.so
06/22/15 10:54:27.779 Info: Disposing family module mod_homematicbidcos.so
06/22/15 10:54:27.779 Info: Waiting for event threads to finish.
[…] Starting Homegear: homegear06/22/15 10:54:27.809 Loading RPC server settings from /etc/homegear/rpcservers.conf
06/22/15 10:54:27.810 Loading RPC client settings from /etc/homegear/rpcclients.conf
06/22/15 10:54:27.810 Info: Waiting for event threads to finish.
. ok
root@0be5aff23fc0:/# cat /var/log/homegear/homegear.*
06/22/15 10:54:27.895 Critical: Signal 11 received. Stopping Homegear…
06/22/15 10:54:27.812 Info: Loading family module mod_miscellaneous.so
06/22/15 10:54:27.817 Info: Loading family module mod_homematicwired.so
06/22/15 10:54:27.823 Info: Loading family module mod_philipshue.so
06/22/15 10:54:27.828 Info: Loading family module mod_insteon.so
06/22/15 10:54:27.835 Info: Loading family module mod_max.so
06/22/15 10:54:27.842 Info: Loading family module mod_homematicbidcos.so
06/22/15 10:54:27.892 Module HomeMatic BidCoS: LAN-Konfigurationsadapter “My-HM-CFG-LAN”: Info: Enabling AES encryption for communication with HM-CFG-LAN.
06/22/15 10:54:27.892 Initializing database…
06/22/15 10:54:27.894 Initializing family controller…
06/22/15 10:54:27.894 Module HomeMatic BidCoS: Loading XML RPC devices…
06/22/15 10:54:27.895 Critical: Signal 11 received. Stopping Homegear…
root@0be5aff23fc0:/# homegear -r
06/22/15 10:54:58.449 Could not connect to socket. Error: No such file or directory
06/22/15 10:54:58.450 Could not connect to socket. Error: No such file or directory
root@0be5aff23fc0:/#
[/quote]
ich weiß, dass es schon fertige container gibt, aber die sind ja für arm.
wie man sieht binde ich schon vorhanden Verzeichnisse ein. Ziel ist es die vorhanden configuration weiter zu nutzen.
hat jemand nen tipp für mich?
thx stefan