I installed the official Docker image, and I can reach the web-interface.
However I would like the config-files to be on the hosts (not to be lost on updates and so on), and followed both the tutorial on the wiki as well as in the docker description
I installed 2.3.0-snapshot.
However I cannot find the configuration files. They are not on /opt/docker. There is a file structure on /openhab, are those the right files?
This section has you create the folders that you will mount into the container at /opt/openhab.
The command you run in the next section assumes these folders were created and exist and have the proper permissions for the openhab user to write to. If they do then the container will populate those empty folders with the default config and other files.
When followed correctly, the config files will be in /opt/openhab/conf
The start script entrypoint.sh is the first thing that gets run when the container starts. It looks to see if /openhab/userdata and /openhab/conf is empty. If they are empty it copies over the default files and folders to those directories. Then it runs OH.
You need to map the files and folders to where they are in the container. Not where they are on the host.
So you use -v /opt/openhab/conf:/openhab/conf and -v /opt/openhab/userdata:/openhab/userdata, just like the examples on the tutorial.