60tonangel
(Justin Aiken)
December 15, 2015, 5:30pm
#1
I recently switched from running openHAB natively on a RP1 to running it inside a docker container on a RP2 (which I’m very happy with!)
On the hardware wiki, it says:
The Apache Fileinstall Bundle is used to continuously check the $OPENHAB_HOME/addons folder in openHAB
The bundle writes nearly continously to /tmp/fileinstall-…
When uncommenting/setting RAMTMP=yes in /etc/default/tmpfs these I/O operations will be RAM access rather than slow SD card I/O
If I’m running inside a Docker container, does that mean I’d want to change that file -inside- the container, on the rasbpi itself, or both?
1 Like
powareverb
(Gavin Jones (powareverb))
February 18, 2016, 10:54pm
#2
Hey, out of interest, which docker image are you using for openhab2 on RPI? I’m keen to do same.
I’d expect the better way of handling config and plugins would be to add volume bindings, at least for config that’s what many of the images use. For example, this one of OpenHAB 1:
docker run -d --name openhab -p 8080:8080 -v /home/pi/openhab:/etc/openhab --net host dhermanns/rpi-openhab
60tonangel
(Justin Aiken)
March 13, 2016, 11:34pm
#3
I’m using a fork of dhermanns - https://github.com/JustinAiken/rpi-openhab/ (justinaiken/rpi-openhab on dockerhub)