概要

フル名
docker.io/rocker/shiny
Registry
docker.io
名前空間
rocker
リポジトリ
shiny
キャッシュ Tag 数
55
最終同期
07/06/2026, 08:30 AM

概要

Rocker Shiny Server 镜像,托管 R Shiny 交互式 Web 应用,适合数据科学团队内部分析仪表盘私有化部署。

詳細

rocker/shiny 运行 Shiny Server,托管 /srv/shiny-server 下 R 应用。定位为 R 数据分析 Web 服务,挂载 app 目录 volume;K8s Deployment + Ingress 内网发布。

快速启动

docker run -d --name shiny \
  -p 3838:3838 \
  -v $(pwd)/apps:/srv/shiny-server \
  docker.io/rocker/shiny:latest

推荐实践

docker run -d --name shiny \
  --restart unless-stopped \
  -p 3838:3838 \
  -v /opt/shiny/apps:/srv/shiny-server:ro \
  docker.io/rocker/shiny:4.4.0

核心参数说明

  • -p 3838:3838 — Shiny Server HTTP 端口
  • -v .../shiny-server:... — R 应用目录
  • --restart unless-stopped — 分析服务持续在线
  • 固定 tag — R 与 Shiny pin

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: shiny
spec:
  replicas: 2
  selector:
    matchLabels:
      app: shiny
  template:
    metadata:
      labels:
        app: shiny
    spec:
      containers:
        - name: shiny
          image: docker.io/rocker/shiny:4.4.0
          ports:
            - containerPort: 3838
          volumeMounts:
            - name: apps
              mountPath: /srv/shiny-server
      volumes:
        - name: apps
          persistentVolumeClaim:
            claimName: shiny-apps
---
apiVersion: v1
kind: Service
metadata:
  name: shiny
spec:
  selector:
    app: shiny
  ports:
    - port: 3838
      targetPort: 3838

Ingress 限制内网;R 包依赖 bake 进自定义镜像。

Tagアーキテクチャプッシュ日時サイズDigest同期期望操作
docker.io/rocker/shiny
:latest
linux/amd64
2026/06/30 20:09549.9 MBsha256:3001c6838c40
docker.io/rocker/shiny
:4
linux/amd64
2026/06/30 20:09549.9 MBsha256:3001c6838c40
docker.io/rocker/shiny
:4.6
linux/amd64
2026/06/30 20:09549.9 MBsha256:3001c6838c40
docker.io/rocker/shiny
:4.6.1
linux/amd64
2026/06/30 20:09549.9 MBsha256:3001c6838c40
docker.io/rocker/shiny
:4.5
linux/amd64
2026/06/24 23:39548.4 MBsha256:cdb591d29b1d
docker.io/rocker/shiny
:4.5.3
linux/amd64
2026/06/24 23:39548.4 MBsha256:cdb591d29b1d
docker.io/rocker/shiny
:4.6.0
linux/amd64
2026/06/24 20:59549.8 MBsha256:95a0d826be0b
docker.io/rocker/shiny
:4.4
linux/amd64
2026/03/11 21:45546.5 MBsha256:3a32cc5cf39c
docker.io/rocker/shiny
:4.4.3
linux/amd64
2026/03/11 21:45546.5 MBsha256:3a32cc5cf39c
docker.io/rocker/shiny
:4.5.2
linux/amd64
2026/03/11 19:15546.7 MBsha256:30903b24e5ee
docker.io/rocker/shiny
:4.5.1
linux/amd64
2025/10/31 22:58544.9 MBsha256:dd10b638e2e7
docker.io/rocker/shiny
:4.5.0
linux/amd64
2025/06/13 18:34540.5 MBsha256:e6f929a4d0f7
docker.io/rocker/shiny
:4.3
linux/amd64
2025/02/28 20:26521.8 MBsha256:16ca1764eb49
docker.io/rocker/shiny
:4.3.3
linux/amd64
2025/02/28 20:26521.8 MBsha256:16ca1764eb49
docker.io/rocker/shiny
:4.4.2
linux/amd64
2025/02/28 18:39548.1 MBsha256:bf13403ae3f4
docker.io/rocker/shiny
:4.4.1
linux/amd64
2024/10/31 21:32515.6 MBsha256:ef204fec52ff
docker.io/rocker/shiny
:4.4.0
linux/amd64
2024/06/14 18:23514.9 MBsha256:349bc4ee0291
docker.io/rocker/shiny
:4.3.0
linux/amd64
2024/04/24 21:57518.3 MBsha256:a0b37b761ed3
docker.io/rocker/shiny
:4.3.1
linux/amd64
2024/04/24 21:560.0 MBsha256:25f77bba4cf9
docker.io/rocker/shiny
:4.3.2
linux/amd64
2024/04/24 21:51519.9 MBsha256:ed34f4a17e4f