More precise way of fetching IP Address of container

Signed-off-by: Ippoippo <ippoippo-software@ippoippo-eco.com>