Persistent add-ons?

  • Platform information:
    • Hardware: Intel i7 / 16 GB RAM / SSD
    • OS: Docker image openhab/openhab:2.2.0-amd64-debian
    • Java Runtime Environment: Included in Docker image
    • openHAB version: 2.2.0
  • Issue of the topic: Add-ons disappear after Docker restart

I’m trying to run OH 2.2.0 as a Docker container. A lot of it works, but I cannot install add-ons. The add-ons that existed before I upgraded to 2.2.0 works, and I can install new add-ons using Paper UI and/or HABmin. However, they do not persist after a restart of the Docker container - so how do I install add-ons in a way that will persist across restarts?

Regards,
Lars