This puppeteer in a container has a script designed to capture a website in a set of screen sizes
383
This docker image runs puppeteer in a container. There is a script designed to run puppeteer to capture a website in a set of screen sizes.
To avoid cookie consent pop-ups and another pop-ups clouding the view of the screenshots, you can specify a set of cookies (name/value) in the settings.json (./storage/settings.json).
There is a set of predefined resolutions in the settings.json file. You can change/remove/add the set of resolution profiles to your liking.
docker run -it --rm -v $(pwd)/storage:/app/storage -e url=https://chrisheanan.co.uk cheanan/puppeteer
docker build -t cheanan/puppeteer:latest .
docker pull cheanan/puppeteer
docker ps -a see all containersdocker rm $(docker ps -aq) remove all docker containersdocker images list imagesdocker rmi $(docker images -q) remove all imagesContent type
Image
Digest
Size
363.2 MB
Last updated
over 7 years ago
docker pull cheanan/puppeteer