That way a docker network will be created, and from inside a container action, you can connect to it via the hostname “selenium” (comes from the service name). So youd just use hostname=selenium, port=4444
Note that in the above example, no port mapping were specified, thats because for user defined bridge networks in docker, all ports are accesible by default, so the application inside the container only needs to actually be listening on 4444
…
We dont currently support adding docker-specific options, like “network”, when running container actions so unfortunately you wouldnt be able to create a network, and run your action attached to that network specifically (something like docker run --network …)
Of course if you are using a javascript action that would be running on the host, so you could connect via localhost (if you ran the selenium container with --network host)