Intermediate containers ip

hello,
Is it possible to get/set the ip of an intermediate container ?
as a part of my app installation I need to have an ip of whom I’m intalling on.
Is that even possible with docker ?