Skip to content
/ grid Public

Docker image combining Jenkins and Selenium Grid

Notifications You must be signed in to change notification settings

abosaad11/grid

Repository files navigation

grid

Docker image combining Jenkins and Selenium Grid

I created this Docker image to combine both Jenkins and Selenium Grid into one single Docker image. It's useful to me and I hope other people can find it useful too.

How to use

sudo docker pull ghcr.io/abosaad11/grid:0.6
sudo docker run -d -p 4444:4444 -p 1800:8080 --name=grid -it -v $HOME/grid:/var/jenkins_home ghcr.io/abosaad11/grid:0.6

Updates and local use

I do not intend to update this image. However, if you wanted to update it fork this repository and run the action by navgating to your fork's page > Actions > Create and publish a Docker image > Run workflow. If you don't want to publish the image to the Github Container Registry and would like to build it locally follow these steps:

  • Clone the repository:

    git clone https://github.com/abosaad11/grid.git
    cd grid
    
  • Build the image:

    sudo docker build -t name/yourimage:version .
    

    Example:

    sudo docker build -t me/grid:3.4 .
    

    That last dot is important, do not delete it.

  • Run the image:

    sudo docker run -d -p 4444:4444 -p 1800:8080 --name=grid -it -v $HOME/grid:/var/jenkins_home me/grid:3.4
    

    Now Jenkins is available at http://127.0.0.1:1800 and Selenium Grid at http://127.0.0.1:4444.

About

Docker image combining Jenkins and Selenium Grid

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages