How to access public IP inside docker for different containers

Hello everyone, Hope you are doing well.

Prior Info:
I am using

  • Docker version 17.06.0-ce, build 02c1d87
  • CentOS 7.3

I am running micro services based application in which I need to run docker containers on different public ips. Port binding is not an option for me (IP:80:80) because the micro workers are running inside container without any port binding. They are just fetching data from queue, process it and send again to queue. I need to run these workers in parallel on different public ips to run the process faster. I can launch different container with same worker application set but they all are listening on same public IP (docker containers private IP is different). How can I run different containers with different public IPs?

Thanks and Regards

Please check out MACVLAN
I think that should slove your problem.
Kind regards,