Install SmarthomeNG in a docker container

Status
Not open for further replies.

pakka

Dabbler
Joined
Jan 25, 2018
Messages
48
Hi,
I try to set up a smarthomeNG container in docker on my dockerVM in Freenas11.2 but I fail just at the beginning when curl is needed to install docker-compose (aka rancher compose in my case???, well might be the next problem for me). But for now, how to install curl? with that common apt-get command nothing happens within rancher os.

In the end I try to follow the instructions here: https://github.com/henfri/docker/tree/master/knx

thanks guys!
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
1. AFAIK, rancher compose is designed to work with the full blown Rancher UI. It's not easy to get docker-compose on the rancheros base and even if it works as expected.
2. rancheros is not like a typical linux distro as it's constructed from a series of containers itself.. To use an apt-get command you'd have to switch the console and even then I'm not sure you'll get persistant changes. (see: https://rancher.com/docs/os/v1.2/en/configuration/switching-consoles/ )
3. The simplest approach is just to use std docker commands at the rancheros CLI. Find a "smarthomeNG" container on docker hub that you can use, e.g https://hub.docker.com/r/ralfbs/smarthomeng/
4. Your next task is to workout how to link the docker volume to your NAS pool if you need to.
5. If you really need to follow the instructions in your link, you'll make quicker progress by doing that inside a linux VM of your choice, for example by starting with a debian 9.5 net install.
 
Status
Not open for further replies.
Top