- Platform information:
- Hardware: amd 2700x 32 gb ram
- OS: Ubuntu ( Manual) Debian (inside docker)
- Java Runtime Environment: zulu8 in both
- Issue of the topic:
I use openhab manually installed. I used it to send data ( Echocontrol LastvoiceCommand Channel ( items) ) outside to feed my HomeSeer install via mqtt.
I just tried The very same config with docker by curiosity. I am new to docker, but I can say that it is the only container/ image ( I have 4) that is slow to send data outside.
So data is not slow without Docker, but with docker it is slow. This is trange because i did set up the docker as host? And do not forward anything.
here is my docker run ‘‘script’’
docker run \ --name=openhab \ --net=host \ -h 127.0.0.1 \ --restart=always \ -v /etc/localtime:/etc/localtime:ro \ -v /etc/timezone:/etc/timezone:ro \ -v /opt/openhab/addons:/openhab/addons \ -v /opt/openhab/conf:/openhab/conf \ -v /opt/openhab/userdata:/openhab/userdata \ -e "EXTRA_JAVA_OPTS=-Duser.timezone=America/Toronto" \ -d \ -e USER_ID=Hidden \ -e GROUP_ID=Hidden \ openhab/openhab:latest
Maybe i missed something in the config?
Finally, I went back to my manual install , and all is going fast.
So I do not know if the data is slow to enter the docker container, Or if is is slow to send data outside via mqtt.