Since you can run it from bash inside the container then follow How to solve Exec binding problems.
One thing to note is when you run docker exec -it openhab /bin/bash you get a shell as root, not the openhab user.
Since you can run it from bash inside the container then follow How to solve Exec binding problems.
One thing to note is when you run docker exec -it openhab /bin/bash you get a shell as root, not the openhab user.