{"id":22423470,"url":"https://github.com/prantlf/docker-geckodriver-headless","last_synced_at":"2026-05-02T14:37:08.148Z","repository":{"id":150431638,"uuid":"282762353","full_name":"prantlf/docker-geckodriver-headless","owner":"prantlf","description":"Docker image: Firefox and GeckoDriver for headless tests on Alpine Linux","archived":false,"fork":false,"pushed_at":"2022-10-24T06:54:36.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T10:43:10.993Z","etag":null,"topics":["alpine","docker","docker-image","firefox","geckodriver"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prantlf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-27T01:07:32.000Z","updated_at":"2024-11-14T02:10:38.000Z","dependencies_parsed_at":"2023-05-18T00:45:25.898Z","dependency_job_id":null,"html_url":"https://github.com/prantlf/docker-geckodriver-headless","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-geckodriver-headless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-geckodriver-headless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-geckodriver-headless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-geckodriver-headless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prantlf","download_url":"https://codeload.github.com/prantlf/docker-geckodriver-headless/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791899,"owners_count":20672668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine","docker","docker-image","firefox","geckodriver"],"created_at":"2024-12-05T18:11:28.155Z","updated_at":"2026-05-02T14:37:08.079Z","avatar_url":"https://github.com/prantlf.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prantlf/geckodriver-headless\n\n[Docker] image: Firefox and GeckoDriver for headless tests on Alpine Linux\n\n[This image] is supposed to help testing browser applications in [headless Firefox] driven by [`geckodriver`]. This image is built automatically on the top of the tag `latest` from the [Alpine repository], so that it is always based on the latest [Alpine Linux]. [Firefox] and `geckodriver` have to be updated from time to time by triggering a new build manually.\n\nIf you have trouble pulling the image from the Docker's default hub.docker.com, try gitlab.com, where [this project] is primarily maintained: `registry.gitlab.com/prantlf/docker-geckodriver-headless`.\n\n## Tags\n\n- [`latest`], `101`, `89`, `85`\n\n## Install\n\n    docker pull prantlf/geckodriver-headless\n\n## Use\n\nRun the container in the foreground:\n\n    docker run --rm -it -p 4444:4444 geckodriver-headless\n\nRun the container in the background before you start testing:\n\n    docker run --rm -d --name geckodriver -p 4444:4444 geckodriver-headless\n\nInspect the logging on the console:\n\n    docker logs geckodriver\n\nStop and remove the container after you stopped testing:\n\n    docker kill geckodriver\n\nYou can include this image in a `docker-compose.yml` for [docker-compose] too:\n\n```yaml\nversion: 3.8\nservices:\n  geckodriver:\n    image: prantlf/geckodriver-headless\n    init: true\n    tmpfs: /tmp\n    ports:\n      - 127.0.0.1:4444:4444\n```\n\nGeckoDriver will start with the following parameters by default:\n\n    --host=0.0.0.0 --port=4444\n\nAll available command-line arguments for the `geckodriver` executable, which\nyou can append to the statement running the dockjer container:\n\n        --connect-existing  Connect to an existing Firefox instance\n        --jsdebugger        Attach browser toolbox debugger for Firefox\n    -v                      Log level verbosity (-v for debug and -vv for trace level)\n    -b, --binary \u003cBINARY\u003e   Path to the Firefox binary\n        --log \u003cLEVEL\u003e       Set Gecko log level [possible values: fatal, error,\n                            warn, info, config, debug, trace]\n        --marionette-host \u003cHOST\u003e  Host to use to connect to Gecko\n                                  [default: 127.0.0.1]\n        --marionette-port \u003cPORT\u003e  Port to use to connect to Gecko\n                                  [default: system-allocated port]\n        --host \u003cHOST\u003e  Host IP to use for WebDriver server [default: 127.0.0.1]\n    -p, --port \u003cPORT\u003e  Port to use for WebDriver server [default: 4444]\n\n## Build, Test and Publish\n\nThe local image is built as `geckodriver-headless` and pushed to the docker hub with the tag `prantlf/geckodriver-headless:latest`.\n\n    # Remove an old local image:\n    make clean\n    # Build and tag new local images:\n    make build\n    # Enter an interactive shell inside the latest created image:\n    make shell\n    # Login to the docker hub:\n    make login\n    # Push the local image to the docker hub:\n    make push\n\n## License\n\nCopyright (c) 2019-2022 Ferdinand Prantl\n\nLicensed under the MIT license.\n\n[Docker]: https://www.docker.com/\n[This image]: https://hub.docker.com/repository/docker/prantlf/geckodriver-headless\n[this project]: https://gitlab.com/prantlf/docker-geckodriver-headless#prantlfgeckodriver-headless\n[`latest`]: https://hub.docker.com/repository/docker/prantlf/geckodriver-headless/tags\n[headless Firefox]: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Headless_mode\n[`geckodriver`]: https://github.com/mozilla/geckodriver#readme\n[Firefox]: https://www.mozilla.org/firefox/\n[Alpine Linux]: https://alpinelinux.org/\n[docker-compose]: https://docs.docker.com/compose/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fdocker-geckodriver-headless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantlf%2Fdocker-geckodriver-headless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fdocker-geckodriver-headless/lists"}