Sign inSign up

genv/lighthouse

By genv

Updated 6 months ago

A Lighthouse Chromium image

Image
1

4.4K

genv/lighthouse repository overview

Docker Lighthouse

Docker

A Lighthouse Chromium Docker image.

Example Usage

Return a HTML report:

docker run --cap-add=SYS_ADMIN genv/lighthouse <url> --output-path=stdout

Generate and save a HTML report to the current working directory:

docker run -v "$(pwd):/home/lighthouse/reports/" --cap-add=SYS_ADMIN genv/lighthouse <url>

Return a JSON report:

docker run --cap-add=SYS_ADMIN genv/lighthouse <url> --output=json --output-path=stdout

Write a JSON report to disk:

docker run --cap-add=SYS_ADMIN genv/lighthouse <url> --output=json --output-path=stdout > $(date +%s)_report.json

Save multiple reports to the current working directory:

docker run -v "$(pwd):/home/lighthouse/reports/" --cap-add=SYS_ADMIN genv/lighthouse <url> --output=csv,json,html

For a full list of options see:

docker run genv/lighthouse --help

Tag summary

Content type

Image

Digest

sha256:d3964095a

Size

448.2 MB

Last updated

6 months ago

docker pull genv/lighthouse