Assuming you have docker installed on your machine, these are the few steps to take to get openhab up and running.

Create a config directory and store your openhab configuration files there. This is the content of [OPENHAB_HOME]/configurations and will be injected into the container. Let's assume you chose /tmp/config.

Add a file called addons.cfg into that same config directory. This file is used to determine which plugins to enable for your deployment. Each line in the config file should have the name of the addon jar file to load. My file looks like this: