镜像概览

完整引用
docker.io/shawnzhu/prestodb
Registry
docker.io
命名空间
shawnzhu
仓库
prestodb
已缓存 Tag 数
11
最近同步
07/06/2026, 05:43 AM

简介

PrestoDB 分布式 SQL 查询引擎镜像,联邦查询 Hive/MySQL 等多源数据,适合 ad-hoc 分析与数据湖查询。

详细介绍

shawnzhu/prestodb 运行 PrestoDB coordinator/worker,通过 catalog 配置连接多数据源。定位为 OLAP 查询 HTTP 服务,需 JVM 内存与 catalog volume;K8s Deployment coordinator + worker 分离。

快速启动

docker run -d --name prestodb \
  -p 8080:8080 \
  -e PRESTO_COORDINATOR=true \
  docker.io/shawnzhu/prestodb:latest

推荐实践

docker run -d --name prestodb \
  --restart unless-stopped \
  -p 8080:8080 \
  -v /opt/presto/etc:/opt/presto-server/etc \
  -e JAVA_OPTS="-Xmx8G" \
  docker.io/shawnzhu/prestodb:0.284

核心参数说明

  • -p 8080:8080 — Presto Web UI/JDBC HTTP
  • -v .../etc:... — catalog 与 config 配置
  • -e JAVA_OPTS — JVM 堆内存大小
  • 固定 tag — PrestoDB pin

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: prestodb-coordinator
spec:
  replicas: 1
  selector:
    matchLabels:
      app: prestodb-coordinator
  template:
    metadata:
      labels:
        app: prestodb-coordinator
    spec:
      containers:
        - name: presto
          image: docker.io/shawnzhu/prestodb:0.284
          ports:
            - containerPort: 8080
          volumeMounts:
            - name: config
              mountPath: /opt/presto-server/etc
      volumes:
        - name: config
          configMap:
            name: presto-config
---
apiVersion: v1
kind: Service
metadata:
  name: prestodb
spec:
  selector:
    app: prestodb-coordinator
  ports:
    - port: 8080
      targetPort: 8080

worker 独立 Deployment;catalog Secret 管理凭据。

最新 Tag(20 条)

查看全部 11 个 Tag →
Tag架构推送时间大小Digest同步期望操作
docker.io/shawnzhu/prestodb
:340
linux/amd64
2020/08/25 00:57673.9 MBsha256:9adcf1d9eee9
docker.io/shawnzhu/prestodb
:331
linux/amd64
2020/04/01 03:39631.9 MBsha256:b6a40bb68e1c
docker.io/shawnzhu/prestodb
:330
linux/amd64
2020/03/12 06:57596.9 MBsha256:5f9d25bcb64f
docker.io/shawnzhu/prestodb
:latest
linux/amd64
2020/02/06 03:18587.9 MBsha256:a399223ef1dc
docker.io/shawnzhu/prestodb
:329
linux/amd64
2020/02/06 03:18587.9 MBsha256:a399223ef1dc
docker.io/shawnzhu/prestodb
:325
linux/amd64
2020/01/08 09:50596.0 MBsha256:938e20535802
docker.io/shawnzhu/prestodb
:300
linux/amd64
2019/03/29 09:12736.9 MBsha256:23252bd4b489
docker.io/shawnzhu/prestodb
:0.215
linux/amd64
2019/03/22 04:10730.1 MBsha256:b44510691531
docker.io/shawnzhu/prestodb
:0.193
linux/amd64
2019/03/15 03:34642.5 MBsha256:45a41fc2dab6
docker.io/shawnzhu/prestodb
:0.183
linux/amd64
2017/09/07 22:291.1 GBsha256:f23b7e5e7387
docker.io/shawnzhu/prestodb
:0.181
linux/amd64
2017/09/07 22:241.1 GBsha256:74237b72a6f0