Change docker ports on Unraid

  • Platform information:
    • Hardware: Unraid AMD64
    • OS: Unraid 6.8.3
    • openHAB version: 2.5.0
      Hi,

I have been using OpenHAB on Openhabian for a while and last year transferred to an Unraid docker. All was going well until I needed to run another docker that also uses ports 8080 and 8443.
The unraid docker interface is a bit clunky, I am a docker novice, so I cannot find a way to forward different ports into the OpenHAB docker container or change OpenHAB to look at different ports.

Has anyone got a good guide for this?

Thanks

Steve

If you can use the command line to run the containers here is some help for mapping ports:

I’m afraid I don’t know anything about Unraid if they have a GUI you are using.

There is an example on Dicker Hub using a Docker compose file that specifies ports. I do not know if you can do that with Docker Run.

https://hub.docker.com/r/openhab/openhab/

Thanks.
Unraid uses a custom UI by default to configure docker containers. Haven’t figured out how to run them from the commandline and configure them to auto-start.
I have got round the issue by setting a few of my containers to use custom IPs, that way I can leave OpenHAB with the defaults and it just works, and I don’t have to change ports on anything.

Steve

1 Like