Skip to content

Dockerfile to build a headless selenium installation with ChromeDriver

License

Notifications You must be signed in to change notification settings

ipostol/docker-chrome-selenium

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for Selenium Server with Chrome (adapted from lzhang/selenium)

Installation

$ sudo docker pull eperoumalnaik/docker-chrome-selenium

Usage

Run the container:

sudo docker run --privileged -p 4444:4444 -d --shm-size=1g eperoumalnaik/docker-chrome-selenium

Don't forget set more swap memory for server, where you up selenium-server

Selenium server will be available on the host machine at port 4444. Web tests will run via headless chrome.

The privileged option is needed so that chrome can run (see moby/moby#1079).

About

Dockerfile to build a headless selenium installation with ChromeDriver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%