Docker Community Forums

Share and learn in the Docker community.

Install openhab3 using docker-compose with external volume

Hello everyone,

I’m new to Docker, and I’d like to get Openhab3 working.

My setup:
Raspberry Pi 4 8GB
Raspberry Pi OS ARM64, lite (no desktop)
Docker: version 20.10.5, build 55c4c88
docker-compose: version 1.28.5, build unknown

I already had a look into the Docker Hub documentation about openhab3 (Docker Hub)

I like to have the possibility to access the /openhab/conf folder directly from my home path (e.g. /home/pi/openhab/conf). So that I can easily edit all attached files with my standard user. How should the docker-compose.yml file look like, and what kind of permissions do I need to grant?

Thank you very much in advance.


I experienced the same thing initially. It resolved itself, but I was playing with so many changes, I’m not 100% sure how it was resolved. I think the fix is this:

Turn off Access Remote Repository in Add-on Management under Settings

Restart the container.

Turn Access Remote Repository back on.

It’s just a wild guess. But mine started working somewhere along the way.

I didn’t change any permissions and used the same user ID already set up on the NAS for OH 2.