{"id":22423408,"url":"https://github.com/prantlf/docker-chromedriver-headless","last_synced_at":"2026-04-18T02:03:14.921Z","repository":{"id":150431646,"uuid":"282761816","full_name":"prantlf/docker-chromedriver-headless","owner":"prantlf","description":"Docker image: Chromium and ChromeDriver for headless tests on Alpine Linux","archived":false,"fork":false,"pushed_at":"2022-10-24T06:52:55.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T10:43:04.788Z","etag":null,"topics":["alpine","chrome","chromedriver","chromium","docker","docker-image"],"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:03:50.000Z","updated_at":"2023-03-19T18:45:28.000Z","dependencies_parsed_at":"2023-04-24T17:27:51.170Z","dependency_job_id":null,"html_url":"https://github.com/prantlf/docker-chromedriver-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-chromedriver-headless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-chromedriver-headless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-chromedriver-headless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-chromedriver-headless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prantlf","download_url":"https://codeload.github.com/prantlf/docker-chromedriver-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","chrome","chromedriver","chromium","docker","docker-image"],"created_at":"2024-12-05T18:11:17.291Z","updated_at":"2026-04-18T02:03:09.888Z","avatar_url":"https://github.com/prantlf.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prantlf/chromedriver-headless\n\n[Docker] image: Chromium and ChromeDriver for headless tests on Alpine Linux\n\n[This image] is supposed to help testing browser applications in [headless Chromium] driven by `chromedriver`. 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]. [Chromium] and `chromedriver` 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-chromedriver-headless`.\n\n## Tags\n\n- [`latest`], `102`, `93`, `86`\n\n## Install\n\n    docker pull prantlf/chromedriver-headless\n\n## Use\n\nRun the container in the foreground:\n\n    docker run --rm -it -p 4444:4444 chromedriver-headless\n\nRun the container in the background before you start testing:\n\n    docker run --rm -d --name chromedriver -p 4444:4444 chromedriver-headless\n\nInspect the logging on the console:\n\n    docker logs chromedriver\n\nStop and remove the container after you stopped testing:\n\n    docker kill chromedriver\n\nYou can include this image in a `docker-compose.yml` for [docker-compose] too:\n\n```yaml\nversion: 3.8\nservices:\n  chromedriver:\n    image: prantlf/chromedriver-headless\n    init: true\n    tmpfs: /tmp\n    ports:\n      - 127.0.0.1:4444:4444\n```\n\nChromeDriver will start with the following parameters by default:\n\n    --host=0.0.0.0 --port=4444 -whitelisted-ips=\n\nAll available command-line arguments for the `chromedriver` executable, which\nyou can append to the statement running the dockjer container:\n\n    --port=PORT           port to listen on\n    --adb-port=PORT       adb server port\n    --log-path=FILE       write server log to file instead of stderr, increases\n                          log level to INFO\n    --log-level=LEVEL     set log level: ALL, DEBUG, INFO, WARNING, SEVERE, OFF\n    --verbose             log verbosely (equivalent to --log-level=ALL)\n    --silent              log nothing (equivalent to --log-level=OFF)\n    --append-log          append log file instead of rewriting\n    --replayable          (experimental) log verbosely and don't truncate long\n                          strings so that the log can be replayed.\n    --url-base            base URL path prefix for commands, e.g. wd/url\n    --readable-timestamp  add readable timestamps to log\n    --whitelisted-ips     comma-separated whitelist of remote IP addresses\n                          which are allowed to connect to ChromeDriver\n\nChromium will start with the following parameters by default:\n\n```sh\n#!/bin/sh\n/usr/bin/chromium-browser --headless --no-sandbox \\\n  --disable-dev-shm-usage --remote-debugging-port=9876 $*\n```\n\nIf you want to change the parameters, write your own script and map it using\na volume when running the containerL\n\n    -v=\"my-google-chrome:/usr/bin/google-chrome\"\n\n## Build, Test and Publish\n\nThe local image is built as `chromedriver-headless` and pushed to the docker hub with the tag `prantlf/chromedriver-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/chromedriver-headless\n[this project]: https://gitlab.com/prantlf/docker-chromedriver-headless#prantlfchromedriver-headless\n[`latest`]: https://hub.docker.com/repository/docker/prantlf/chromedriver-headless/tags\n[headless Chromium]: https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md\n[Chromium]: https://www.chromium.org/\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-chromedriver-headless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantlf%2Fdocker-chromedriver-headless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fdocker-chromedriver-headless/lists"}