Network configuration on container equivalent to bridge mode with VM

Hello,

I’m looking for some help about network configuration of a container.

I have a container with an application which need an ip address accessible from outside the docker network. In fact, i have another machine (not a container), which has to associate a domain name with the ip address of my container. I read docker doc but i only found solutions with nat masquerading done by the host, which is not a solution available in my case.

If you have an idea to make what i’m looking for, thank you !

Regards

Finally i found a solution : i configured network address translation on the host with a public ip address linked with the ip address of my container.