Last active
February 23, 2017 18:04
-
-
Save fabioluciano/c62885c022c068b1bf713bc2889f0694 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker images | grep "^<none>" | awk '{print $3}' | |
/etc/init.d/docker stop | |
thin_check /var/lib/docker/devicemapper/devicemapper/metadata | |
thin_check --clear-needs-check-flag /var/lib/docker/devicemapper/devicemapper/metadata | |
/etc/init.d/docker start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d -p 4444:4444 --name selenium-hub -e GRID_NEW_SESSION_WAIT_TIMEOUT=-1 -e GRID_JETTY_MAX_THREADS=-1 -e GRID_NODE_POLLING=10 -e GRID_CLEAN_UP_CYCLE=10 -e GRID_TIMEOUT=10 -e GRID_BROWSER_TIMEOUT=10 selenium/hub:3.0.1-germanium | |
docker run -d --name node-firefox -e NODE_MAX_SESSION=50 -e NODE_MAX_INSTANCES=50 --link selenium-hub:hub selenium/node-firefox:3.0.1-germanium | |
docker run -d --name node-chrome -e NODE_MAX_SESSION=50 -e NODE_MAX_INSTANCES=50 --link selenium-hub:hub selenium/node-chrome:3.0.1-germanium |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment