It seems you are trying to create a TCP/IP connection between containers. I would create an explicit Docker network, attach both containers to it. Then address container via the container name, internal Docker DNS will translate to appropriate IP.
Share and learn in the Docker community.
It seems you are trying to create a TCP/IP connection between containers. I would create an explicit Docker network, attach both containers to it. Then address container via the container name, internal Docker DNS will translate to appropriate IP.