wetwarelabs / docker-openhab2 Goto Github PK
View Code? Open in Web Editor NEWDocker container of Openhab 2
Docker container of Openhab 2
To access the demo, according to the readme:
http://[IP-of-Docker-Host]:8080/openhab.app?sitemap=demo
This does not work for me:
HTTP ERROR 404
Problem accessing /openhab.app. Reason:
ProxyServlet: /openhab.app
It would be great to have Docker tags with fixed versions and fixed URLs to official repositories (eg. GitHub https://github.com/openhab/openhab-distro/releases), because current default snapshot URLs do not work. The Docker build process shows some errors and in the end it fails:
Step 7 : RUN /root/docker-files/scripts/download_openhab.sh
---> Running in 838d13944d6a
Downloading runtime...
Downloading addons...
Downloading demo...
Extracting runtime...
Extracting add-ons...
[/tmp/distribution-runtime.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /tmp/distribution-runtime.zip or
/tmp/distribution-runtime.zip.zip, and cannot find /tmp/distribution-runtime.zip.ZIP, period.
[/tmp/distribution-addons.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /tmp/distribution-addons.zip or
/tmp/distribution-addons.zip.zip, and cannot find /tmp/distribution-addons.zip.ZIP, period.
Extracting demo...
[/tmp/demo-openhab.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /tmp/demo-openhab.zip or
/tmp/demo-openhab.zip.zip, and cannot find /tmp/demo-openhab.zip.ZIP, period.
chmod: cannot access ‘/opt/openhab/start.sh’: No such file or directory
mv: cannot stat ‘/opt/openhab/conf’: No such file or directory
---> Running in 4f1e0f5f9231
ERROR: Service 'openhab' failed to build: The command '/bin/sh -c wget -q -P /tmp/ https://openhab.ci.cloudbees.com/job/openHAB/lastStableBuild/artifact/distribution/target/distribution-1.8.0-SNAPSHOT-addons.zip && wget -q -P /tmp/ https://openhab.ci.cloudbees.com/job/openHAB/lastStableBuild/artifact/distribution/target/distribution-1.8.0-SNAPSHOT-runtime.zip && unzip -q /tmp/distribution-1.8.0-SNAPSHOT-addons.zip -d /opt/openhab/addons-available-oh1 && unzip -j /tmp/distribution-1.8.0-SNAPSHOT-runtime.zip server/plugins/org.openhab.io.transport.mqtt* -d /opt/openhab/addons-available-oh1/ && unzip -j /tmp/distribution-1.8.0-SNAPSHOT-runtime.zip configurations/openhab_default.cfg -d /opt/openhab/ && rm -f /opt/openhab/runtime/server/plugins/org.openhab.io.transport.mqtt* && rm /tmp/distribution-1.8.0-*' returned a non-zero code: 8
When trying to run/start the docker container on a Rasperry Pi with Raspbian, you get the following error message:
[9] System error: exec format error
Error: failed to start containers:
Am I missing something or is Raspberry Pi not supported at all?
Regards,
Dennis
The CPU architecture for Raspberry Pi is ARM rather than x86/x64 by Intel or AMD. Thus, this container is failing with the following error:
FATA[0003] Error response from daemon: Cannot start container 0f0fa3f8e510e53908e6a459e817d600b9649e621e7dede974d6a65761ad39e5: exec format error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.