markhobson / docker-maven-chrome

Docker image for Java automated UI tests.
https://hub.docker.com/r/markhobson/maven-chrome/
Apache License 2.0
98 stars 82 forks source link

Comment about chrome and /dev/shm : freezes and timeout #14

Closed egwepas closed 5 years ago

egwepas commented 5 years ago

I know this isn't your fault but I'd like to trace this here for future users.

google-chrome makes use of /dev/shm for runtime data. In docker images this mount point is small by default (64mo), and this causes chrome to crash / freeze.

Using protractor and jasmine, there is no error message and it looks like a timeout.

The fix for this is either :

That's it.

Feel free to close this or eventually add it to your README for poor souls like us that lost 4 days on that issue ;-)

markhobson commented 5 years ago

Added to README, thanks!