Docker Community Forums

Share and learn in the Docker community.

Assign a custom IP to docker container


(Crowip) #1

Hello. I am very new to docker, so sorry for newbie questions. My task, i believe, is pretty simple. OS is centos7 and im running docker for this one https://hub.docker.com/r/telegrammessenger/proxy/
I need to run different proxy containers with different ips. For example: i have range of ips on my ifcfg-lo-range0 (27.0.204.0-27.0.204.100 for example), so i need proxy container ro assign 27.0.204.1
How can i do this? Please, dont send me to https://docs.docker.com/network/bridge/
Thank you!