Selenium server works with Docker on MacOS but not on Jenkins

I have a Selenium server image that I use with Docker as part of our test process:

FROM selenium/standalone-firefox:3.4.0-chromium

this work locally on MacOS, but when I run this Docker container on Jenkins (linux-gnu), then Selenium doesn’t seem to work.

  • Could i run docker in a docker Container Ubuntu 14.04
  • 502 http error from nginx+letsencrypt proxy on docker
  • Change system date time in docker containers without impacting the host
  • Can't connect to db docker container
  • Dockerizing an existing Project
  • Change docker storage driver on Mac OS X
  • My only guess is that only a headless browser can work on Jenkins.

    Does anyone know what I can do to only run a headless browser with Selenium? I am not sure if this makes sense…but I am trying to figure out why requests to Selenium server completely timeout on Jenkins, and I believe because barebones Linux cannot run non-headless browsers.

  • How docker manage volumes when scaling up compose project?
  • Java app in Docker container does not log to syslog properly
  • Expose my docker container to my external IP on GCP
  • Unable to execute shell script with parameter from Dockerfile
  • Error pulling image (latest) from centos, Authentication is required
  • Docker Conditional build image
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.