March 28, 20206 yr Hi, I have been running an OpenHAB docker container for a while, everything working great, but I had to add another Docker container that also needed to be Host and using the same ports. I switched the OpenHAB container to bridged so I could use the new container, but what I really want to do is remap the ports on OpenHAB. I have tried following some guides on port use, but it appears that the port numbers are hard-coded in OpenHAB, so trying to use the edit UI achieve nothing. Thanks in advance for any help. Steve
March 28, 20206 yr Community Expert Don't use this, but in general, container ports can't be changed. Instead you have to change the host port that container port is mapped to.
March 29, 20206 yr Author Thanks. I have got round this by setting some of the containers to custom network with a new IP address, no more conflicts, and I don't have to figure out how to map the ports when in host mode. Does anyone know how to do the --device command in a docker XML file as it now the only manual thing I need to do and it would be nice to get it to map my zwave stick automaticaly.
Archived
This topic is now archived and is closed to further replies.