概要

フル名
docker.io/scrapinghub/splash
Registry
docker.io
名前空間
scrapinghub
リポジトリ
splash
キャッシュ Tag 数
47
最終同期
07/05/2026, 08:49 PM

概要

Splash 轻量 JavaScript 渲染服务镜像,HTTP API 返回 headless WebKit 渲染后的 HTML/PNG,爬虫与动态页面抓取场景。

詳細

scrapinghub/splash 运行 Splash headless WebKit 渲染服务,HTTP API 执行 JavaScript 渲染后返回 HTML、PNG 或 HAR。定位为无状态网页渲染 API 服务,Scrapy 中间件或爬虫系统调用;K8s Deployment 水平扩展渲染能力。

快速启动

docker run -d --name splash \
  -p 8050:8050 \
  docker.io/scrapinghub/splash:latest

推荐实践

docker run -d --name splash \
  --restart unless-stopped \
  -p 8050:8050 \
  -e SPLASH_MAX_TIMEOUT=3600 \
  -e SPLASH_CONCURRENT=4 \
  docker.io/scrapinghub/splash:3.5

核心参数说明

  • -p 8050:8050 — Splash HTTP API
  • -e SPLASH_MAX_TIMEOUT — 渲染超时秒数
  • -e SPLASH_CONCURRENT — 并发渲染数
  • 合规 — 遵守目标站点 robots.txt

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: splash
spec:
  replicas: 3
  selector:
    matchLabels:
      app: splash
  template:
    metadata:
      labels:
        app: splash
    spec:
      containers:
        - name: splash
          image: docker.io/scrapinghub/splash:3.5
          ports:
            - containerPort: 8050
          resources:
            limits:
              memory: 2Gi
---
apiVersion: v1
kind: Service
metadata:
  name: splash
spec:
  selector:
    app: splash
  ports:
    - port: 8050
      targetPort: 8050

爬虫系统通过 Service 调用;NetworkPolicy 限制出站目标。

Tagアーキテクチャプッシュ日時サイズDigest同期期望操作
docker.io/scrapinghub/splash
:master
linux/amd64
2021/02/21 15:40649.5 MBsha256:02d75b5b052f
docker.io/scrapinghub/splash
:3.4csp
linux/amd64
2020/10/19 16:20692.6 MBsha256:8b829651a4f5
docker.io/scrapinghub/splash
:3.5
linux/amd64
2020/08/19 18:16658.9 MBsha256:c8f1036efd24
docker.io/scrapinghub/splash
:3.5.0
linux/amd64
2020/08/19 17:55661.0 MBsha256:6a9936e2df8e
docker.io/scrapinghub/splash
:latest
linux/amd64
2020/08/19 17:39658.9 MBsha256:b4173a88a9d1
docker.io/scrapinghub/splash
:3.4.1
linux/amd64
2020/01/10 04:51747.2 MBsha256:a5f89bc84606
docker.io/scrapinghub/splash
:3.4nh2
linux/amd64
2019/11/12 21:57754.9 MBsha256:4a2446e4e81f
docker.io/scrapinghub/splash
:3.4-noh2
linux/amd64
2019/11/12 21:48754.9 MBsha256:4a2446e4e81f
docker.io/scrapinghub/splash
:3.4
linux/amd64
2019/10/25 20:29746.8 MBsha256:9c9fe4ee35e9
docker.io/scrapinghub/splash
:3.4b1
linux/amd64
2019/08/19 23:32746.8 MBsha256:7e5eef2d5a7a
docker.io/scrapinghub/splash
:3.4dev0
linux/amd64
2019/08/08 17:21606.4 MBsha256:f67122334db0
docker.io/scrapinghub/splash
:3.4d0
linux/amd64
2019/08/08 16:49606.4 MBsha256:45fc25de7154
docker.io/scrapinghub/splash
:3.4dev-viewport
linux/amd64
2019/08/07 22:18608.9 MBsha256:70e914b2c396
docker.io/scrapinghub/splash
:3.3.1-dbg
linux/amd64
2019/07/29 11:02491.5 MBsha256:5500033f783d
docker.io/scrapinghub/splash
:3.3.1
linux/amd64
2019/02/21 18:00473.2 MBsha256:67d2237c7418
docker.io/scrapinghub/splash
:3.2-dbg
linux/amd64
2019/02/14 18:11486.7 MBsha256:51ca1abff115
docker.io/scrapinghub/splash
:3.3
linux/amd64
2019/02/06 08:21468.5 MBsha256:b4a40b98c7d8
docker.io/scrapinghub/splash
:3.2
linux/amd64
2018/02/16 03:47479.7 MBsha256:943f8002dc63
docker.io/scrapinghub/splash
:3.1
linux/amd64
2018/01/31 07:08479.6 MBsha256:ee641557a7d2
docker.io/scrapinghub/splash
:3.0
linux/amd64
2017/07/06 20:42476.1 MBsha256:08c9b401fb81