Get the access to default java container (TestContainers) in spock test

I have a spock integration test which initiates additional container.

@Shared
protected GenericContainer seleniumStandalone =
        new GenericContainer<>("selenium/standalone-chrome:latest")
                .withExposedPorts(4444)
                .withCreateContainerCmdModifier({ cmd -> cmd.withName('dockerized-chrome') })
                .withCopyFileToContainer(
                        MountableFile.forClasspathResource("install_python.sh", 0744),"/install_python.sh")
                .withCopyFileToContainer(
                        MountableFile.forClasspathResource("test.py", 0744),"/test.py")

Container "dockerized-chrome" has a python script. Script inside him is trying to make a request to endpoint which is originally in java soruce code. That why I am curious that is any way to get information about name or id java container which is created by TestContainers annotation which has also endpoints created in java project. I added a picture to make it clearer.

enter image description here

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum