# openHAB docker: Error initializing storage for Equinox container

**URL:** <https://community.openhab.org/t/openhab-docker-error-initializing-storage-for-equinox-container/135582>\
**Category:** Installation\
**Tags:** googlehome1, googleassistant, openhab3, sitemap\
**Created:** [April 30, 2022, 6:56pm UTC](https://community.openhab.org/t/openhab-docker-error-initializing-storage-for-equinox-container/135582 "2022-04-30T18:56:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danieldid](https://community.openhab.org/user_avatar/community.openhab.org/danieldid/32/84486_2.png) [@Danieldid](https://community.openhab.org/u/Danieldid)\
**Post date:** [April 30, 2022, 6:56pm UTC](https://community.openhab.org/t/openhab-docker-error-initializing-storage-for-equinox-container/135582/1 "2022-04-30T18:56:17Z")

</div>

Hello,

I update every now and then my raspberry pi is currently running Bullseye.

My setup:

- running **openHAB 3.2** in a docker instance (openhab/openhab:latest) on Raspberry Pi (32bit)

I followed the docker compose example from here:  
[https://hub.docker.com/r/openhab/openhab](https://hub.docker.com/r/openhab/openhab)

My docker-compose.yaml looks like this:

```auto
openhab:
        container_name: openhab
        image: openhab/openhab:3.2.0
        restart: always
        #ports:
            #- 8080:8080
            #- 8443:8443
        volumes:
            - ./openhab/addons:/openhab/addons
            - ./openhab/conf:/openhab/conf
            - ./openhab/userdata:/openhab/userdata
        environment:
            OPENHAB_HTTP_PORT: "8080"
            OPENHAB_HTTPS_PORT: "8443"
            EXTRA_JAVA_OPTS: "-Duser.timezone=Germany/Berlin"
        devices:
            - /dev/ttyACM0
        #networks:
            #- influxdb-telegraf-net
        network_mode: "host"

```

My docker logs openhab returns this:

```auto
Launching the openHAB runtime...
Error initializing storage for Equinox container.

```

I’m running the plain docker image and i have no idea where to start.

---

<div class="post-metadata">

**Author:** ![Wolfgang\_S](https://community.openhab.org/user_avatar/community.openhab.org/wolfgang_s/32/52719_2.png) [@Wolfgang\_S](https://community.openhab.org/u/Wolfgang_S)\
**Post date:** [May 1, 2022, 7:24am UTC](https://community.openhab.org/t/openhab-docker-error-initializing-storage-for-equinox-container/135582/2 "2022-05-01T07:24:50Z")

</div>

Which Java version is being used ? I see several reports for this error message that are being caused by using the wrong Java version.

---

<div class="post-metadata">

**Author:** ![Danieldid](https://community.openhab.org/user_avatar/community.openhab.org/danieldid/32/84486_2.png) [@Danieldid](https://community.openhab.org/u/Danieldid)\
**Post date:** [May 1, 2022, 7:57am UTC](https://community.openhab.org/t/openhab-docker-error-initializing-storage-for-equinox-container/135582/3 "2022-05-01T07:57:44Z")

</div>

That’s the point - I can’t figure out which Java version is used in the docker image. Via `docker-compose up -d` the image is set to start up. Before running it restarts with the error. On my host machine Java 11 is installed.

I’m fairly new to docker but my setup worked effortlessly a couple of days ago. Unfortunately I have no backup …

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [May 2, 2022, 1:37pm UTC](https://community.openhab.org/t/openhab-docker-error-initializing-storage-for-equinox-container/135582/4 "2022-05-02T13:37:32Z")

</div>

There have been a number of changes to Docker recently where they have dropped support for some file systems. When I recently upgraded docker on my Ubuntu servers I had to stop the containers, delete the aufs files stores and recreate them with overlay2. See [https://stackoverflow.com/questions/44745304/how-to-move-images-of-docker-in-aufs-directory-to-overlay2](https://stackoverflow.com/questions/44745304/how-to-move-images-of-docker-in-aufs-directory-to-overlay2)

Beyond that, I’m not sure what could be wrong. I don’t think it’s a Java version as the Docker Image comes with a compatible Java. But some more googling shows it should be a permissions problem.

---

<div class="post-metadata">

**Author:** ![Danieldid](https://community.openhab.org/user_avatar/community.openhab.org/danieldid/32/84486_2.png) [@Danieldid](https://community.openhab.org/u/Danieldid)\
**Post date:** [May 6, 2022, 5:38pm UTC](https://community.openhab.org/t/openhab-docker-error-initializing-storage-for-equinox-container/135582/5 "2022-05-06T17:38:05Z")

</div>

@rlkoshak thanks for your input.

I fixed it myself by recreating the container, so now it works with 3.2.0
