Docker Community Forums

Share and learn in the Docker community.

Selenium Grid with multiple nodes not having internet

Has anybody face the issue executing selenium scripts in parallel having more than 5 nodes in 5 containers and not having internet?
When I execute 4 scripts on the containers, they work fine, so I don’t know if it is machine resources or a configuration missing on my docker network.

I have cntlm to bypass the proxy, the compose file has the proxy variables for every container.

chrome1:
image: selenium/node-chrome
container_name: nodechrome1
privileged: true
restart: unless-stopped
depends_on:
- hub
environment:
HUB_PORT_4444_TCP_ADDR: hub
HUB_PORT_4444_TCP_PORT: 4444
HTTP_PROXY: http://host.docker.internal:3128/
HTTPS_PROXY: http://host.docker.internal:3128/
volumes:
- /dev/shm:/dev/shm
ports:
- “9001:5900”
links:
- hub

My challenge is: I can not have more than 4 scripts executing on docker.