Docker phantomJS container for web testing
297
Docker image with PhantomJS intended to act as a web testing environment to avoid needing to install/build web testing tools on your host OS.
NOTE: Building the image takes a long time for PhantomJS compile and I had to increase my Boot2Docker VM memory to 4 gigs to cope.
Build image:
docker build -t stevenalexander/phantomjs .
Pull from hub:
docker pull stevenalexander/phantomjs
Test PhantomJS:
docker run -it --rm stevenalexander/phantomjs phantomjs -v
Run with ghostdriver for remote control
docker run -it --rm stevenalexander/phantomjs phantomjs --webdriver=8080
#With selenium grid hub
#docker run -it --rm stevenalexander/phantomjs phantomjs --webdriver=8080 --webdriver-selenium-grid-hub=http://${HUBIP}:4444
Content type
Image
Digest
sha256:de954f497…
Size
223.6 MB
Last updated
about 11 years ago
docker pull stevenalexander/phantomjs