Google Lighthouse CLI based on Docker
613
A simple Docker image to encapsulate Google Lighthouse CLI.
Basic usage that will output lighthouse help page:
docker run -it pernodricard/lighthouse-cli --help
Basic analysis of https://yoursite.com:
docker run -it pernodricard/lighthouse-cli https://yoursite.com
Json output to stdout:
docker run -it pernodricard/lighthouse-cli https://yoursite.com --output=json --quiet
By default the output files are written in the container in /home/chrome/reports. You can use the -v command to map the folder to your local machine:
docker run -it -v /home/reports:/home/chrome/reports pernodricard/lighthouse-cli https://yoursite.com
Content type
Image
Digest
Size
415 MB
Last updated
over 5 years ago
docker pull pernodricard/lighthouse-cli