Java Runtime Environment: which java platform is used and what version
Issue of the topic: please be detailed explaining your issue
Please post configurations (if applicable):
Items configuration related to the issue
Sitemap configuration related to the issue
Rules code related to the issue
Services configuration related to the issue
If logs where generated please post these here using code fences:
I, as many OH users regularly destroy my files and crash my system due to testing and playing and learning.
I have tried to pull/run docker openhab/openhab many times, it gets to “Launching openhab runtime:” and ends.
I have followed the docs by the letter and read the docs repeatedly to see if I have done something wrong.
I have used the docker provided “Hello-World” after each docker install with success.
Where do I go from here?
Any help would be greatly appreciated.
echo ‘Starting with openhab user id: 9001 and group id: 9001’
Starting with openhab user id: 9001 and group id: 9001
id -u openhab
++ getent group 9001
‘[’ -z ‘’ ‘]’
Create group openhab with id 9001
echo ‘Create group openhab with id 9001’
groupadd -g 9001 openhab
Create user openhab with id 9001
echo ‘Create user openhab with id 9001’
adduser -u 9001 --disabled-password --gecos ‘’ --home /openhab --gid 9001 openhab
Warning: The home dir /openhab you specified already exists.
Adding user openhab' ... Adding new useropenhab’ (9001) with group openhab' ... adduser: Warning: The home directory/openhab’ does not belong to the user you are currently creating.
The home directory /openhab' already exists. Not copying from/etc/skel’.
groupadd -g 14 uucp2
groupadd -g 16 dialout2
groupadd -g 18 dialout3
groupadd -g 32 uucp3
groupadd -g 997 gpio
adduser openhab dialout
Adding user openhab' to groupdialout’ …
Adding user openhab to group dialout
adduser openhab uucp
Adding user openhab' to groupuucp’ …
Adding user openhab to group uucp
adduser openhab uucp2
Adding user openhab' to groupuucp2’ …
Adding user openhab to group uucp2
adduser openhab dialout2
Adding user openhab' to groupdialout2’ …
Adding user openhab to group dialout2
adduser openhab dialout3
Adding user openhab' to groupdialout3’ …
Adding user openhab to group dialout3
adduser openhab uucp3
Adding user openhab' to groupuucp3’ …
Adding user openhab to group uucp3
adduser openhab gpio
Adding user openhab' to groupgpio’ …
Adding user openhab to group gpio
I’m sorry Bruce,
Its my first time posting a new topic.
I am sorry it had to be posted one more time.
I have never seen that thread and did not relate code fencing and my post.
but I have it up and am reading through it now.
Thank you again
As wborn points out, you are missing a ton of command line arguments to the docker run command. You need to set up the networking (–net=host) possible pass in access to hardware like zwave dongle, and mount it set up data volumes to persist your config from one run to the next.
The full set of arguments recommended are on the dockerhub page.
Many of us successfully run in Docker, though if you are running OH on an RPi, the benefits of doing so are not so great.
So I tried including all of the arguments, at least what I could comprehend.
still locks up at launching runtime.
I’m sure my code is still not correct.
I am going to take @rlkoshak advice and for the moment just go with no docker.
I pretty much burned myself out on it for this fine day.
Thank you ALL so much for your insight and valuable time and effort in not just me but EVERYONE.
What a awesome forum this is and we are very fortunate.