Please understand Docker options any use the examples on Docker Hub as an example. That option maps port 2020 in the container to port 2020 on the host. openHAB does not use port 2020 so this option is not useful for an openHAB Docker container.
This user forum is not a replacement for reading the documentatio0n or understanding any third party software such as Docker.
Yes, I understand that docker is an option that can be used.
As I wrote I also used 8080 as port, which as far as I know is the default port.
And yes, this is a openHab forum. But as this topic is at the boarder docker forum may say the same, from there point of view. And as I established Node Red successfull it seems as if I understood docker options…
I hoped that anyone used docker for OH3 and could share the experiences. If not: please ignore the post!
Also running without volumes means the configuration is locked into the Docker container and be lost if upgrading. This forum is meant to assist after someone has issues after reading the avilable documentation.