elgalu / docker-selenium

[NOT MAINTAINED] Please use <https://github.com/SeleniumHQ/docker-selenium>
https://github.com/SeleniumHQ/docker-selenium
Other
1.42k stars 333 forks source link

{{CONTAINER_IP}} have to be replaced by __CONTAINER_IP__ in yml files #312

Closed eravion closed 5 years ago

eravion commented 5 years ago

Hello,

in this files : docker-compose.yml docker-compose-tests.yml docker-compose-scales.yml

{{CONTAINER_IP}} have to be replaced by __CONTAINER_IP__

If not, the node is not using the good network interface to communicate with the hub and the hub is very slow. I tested on a swarm cluster.

Sorry, I'm not familiar with github to do it by myself ...

thanks.

diemol commented 5 years ago

Hi @eravion,

Can you please provide more information? Can you share the commands you are executing and the output you are getting?

eravion commented 5 years ago

Hello,

I build the docker from the git (git clone, then docker build). Then I started 1 hub, 2 firefox and 2 chrome on a swarm cluster with 4 nodes. The access to the hub web page (http://@IP:4444/grid/console) was very slow. This is a classical problem when the node is not using the good interface to communicate with the hub. In the case of this docker they have 2 interfaces. I reproduce the issue on two different docker swarm cluster.

This problem is fixed by replacing {{CONTAINER_IP}} by __ CONTAINER_IP__ in the files listed in the first post.

Maybe this is linked to the swarm cluster, I did not tested on single machine.

diemol commented 5 years ago

The documentation does not cover Swarm yet, why don't you send us a pull request with the documentation and needed changes to have it working?

diemol commented 5 years ago

Closing as sadly we did not get a reply from the OP.