Jump to content

Need help with first docker - Startup Script


niietzshe

Recommended Posts

Hey all, I'm trying to create my first docker to run OpenHab from apt repositories. I know there's another OpenHab docker out there, but it isn't setup how I would like (mainly I want /config to contain my bindings, might not make sense if you don't use OpenHab, but this question should be universal).

 

I'm struggling with the startup. Everything installs correctly and if I exec into the docker and run the init.d, everything is fine and it works as expected. But I can't get it to startup on launch.

 

I've tried all sorts of stuff, currently trying to exec the init from /etc/service, running ontop of Phusion.

Here is my install script on Github (docker one level back).

https://github.com/christianwaite/dockerapp-openhab/blob/master/install.sh

 

If anyone can point me in the right direction I'd be very appreciative!

Thank you

Christian

 

P.s. Here's the docker on the hub:

https://registry.hub.docker.com/u/christianwaite/openhab/

 

P.p.s. If you see anything else glaringly stupid, let me know. I'm literally cobbling this together blind from various other's work to get it started.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...