Skip to content

Instantly share code, notes, and snippets.

@nicholaslck
Created April 23, 2020 09:08
Show Gist options
  • Save nicholaslck/e9fae2861c63f6fabb1fdbdd152cc012 to your computer and use it in GitHub Desktop.
Save nicholaslck/e9fae2861c63f6fabb1fdbdd152cc012 to your computer and use it in GitHub Desktop.
Shell script for uninstall selenium grid from docker. Selenium grid must be installed by script install-selenium-grid-on-docker.sh
#!/bin/bash
SNAPSHOT="3.141.59-20200409"
docker stop selenium-hub \
selenium-chrome-node \
selenium-firefox-node \
selenium-opera-node
docker rm selenium-hub \
selenium-chrome-node \
selenium-firefox-node \
selenium-opera-node
docker rmi selenium/hub:$SNAPSHOT \
selenium/node-chrome:$SNAPSHOT \
selenium/node-firefox:$SNAPSHOT \
selenium/node-opera:$SNAPSHOT
docker network rm selenium-grid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment