Multiple containers same IP on VLAN that share different ports


netfox

Recommended Posts

Hi All,

 

I currently have Home Assistant OS in a VM including MQTT, EspHome, Zigbee2Mqtt with ip 192,168.20.5 in my IOT VLAN.

 

I will like to reproduce the network situation in Docker, basically multiple docker containers with same IP that expose different ports its that possible?

 

On Unraid I also have the problem that when I select the second container with Network type: Custom: br0.20 -- IOT and 192,168.20.5  it will fails.

docker: Error response from daemon: Address already in use.

 

Is it possible to have multiple containers on the same VLAN IP that share different ports?

 

What is your suggestion to use dockers Home assistant, MQTT, EspHome, Zigbee2Mqtt in containers on a VLAN?

Thanks

 

Thanks

 

John

Edited by netfox
Link to comment
  • netfox changed the title to Multiple containers same IP on VLAN that share different ports

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.