Docker Community Forums

Share and learn in the Docker community.

How to get each container to get an ip on the LAN instead of a internal ip address

New docker user here

I have been running into a situation using docker where I cant have more than one container that needs to use the same port number (i.e. 22). Been trying to go through the online docs and it looks like macvlan is what I need? Is that right or is there another option ?

Thanks,
Ron