Dremio docker internal ip address

I’m running dremio within a container and using it as an origin node in a streamset pipeline. I’m trying to connect to my table in dremio via a jdbc multitable node in streamset. The connection string is specified as:

jdbc:dremio:direct=172.18.0.2:31010

Dremio container’s internal IP address is 172.18.0.2, but I can’t ping it from within my streamset’s container. Has anybody worked with dremio container in the past and how to go about resolving internal ip addresses?