docker run -itd --name screenshot \
-v /root/playground/screenshot/:/screenshot/img \
-e TARGET_URL="https://uptime.kuma/status/hello" \
-e WINDOWS_SIZE="1536,806" \
-e SLEEP_TIME=120 \
--restart unless-stopped \
liwangsheng/screenshot
截图文件会生成到容器的/screenshot/img文件夹中,文件名默认screenshot.png,
TARGET_URL:你需要截图的网页
WINDOWS_SIZE:截图尺寸
SLEEP_TIME:间隔时间
Content type
Image
Digest
sha256:911c76788…
Size
392.7 MB
Last updated
almost 3 years ago
docker pull liwangsheng/screenshot