Overview
- Full name
docker.io/apache/age- Registry
- docker.io
- Namespace
- apache
- Repository
- age
- Cached tags
- 29
- Last synced
- 07/06/2026, 02:35 PM
Introduction
Apache AGE 图数据库扩展镜像,在 PostgreSQL 上提供 openCypher 查询,适合知识图谱、血缘关系与社交网络建模场景。
Details
apache/age 基于 PostgreSQL 打包 Apache AGE 扩展,允许在同一实例内混合 SQL 与 Cypher 查询图节点/边。典型用于元数据血缘、欺诈检测图模型等需关系遍历的场景。与 Neo4j 相比复用 PG 运维栈但图性能受 PG 限制;Docker 需持久化 data 目录,Kubernetes 中 StatefulSet 部署并 init 加载 CREATE EXTENSION age。
快速启动
docker run -d --name apache-age \
-p 5432:5432 \
-e POSTGRES_PASSWORD=postgres \
-v $(pwd)/pgdata:/var/lib/postgresql/data \
docker.io/apache/age:latest
推荐实践
docker run -d --name apache-age \
--restart unless-stopped \
-p 5432:5432 \
-e POSTGRES_USER=age \
-e POSTGRES_PASSWORD=strong-pass \
-e POSTGRES_DB=graphdb \
-v /data/age/pg:/var/lib/postgresql/data \
docker.io/apache/age:PG16_v1.5.0
核心参数说明
-p 5432:5432— PostgreSQL + AGE 监听端口-e POSTGRES_PASSWORD— 数据库超级用户密码-e POSTGRES_DB— 图数据库名-v .../pg:...— 图与关系数据持久化--restart unless-stopped— 图库服务持续运行- 固定 tag — PG 大版本与 AGE 扩展版本 pin
Kubernetes
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: apache-age
spec:
serviceName: apache-age
replicas: 1
selector:
matchLabels:
app: apache-age
template:
metadata:
labels:
app: apache-age
spec:
containers:
- name: age
image: docker.io/apache/age:PG16_v1.5.0
ports:
- containerPort: 5432
envFrom:
- secretRef:
name: apache-age-secrets
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes: [ReadWriteOnce]
resources:
requests:
storage: 30Gi
首次连接后执行 CREATE EXTENSION age;应用经 ClusterIP 5432 访问,备份使用 pg_dump 含 AGE catalog。
Latest tags (20)
View all 29 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/apache/age :dev_snapshot_master | linux/amd64linux/arm64 | 2026/07/04 01:08 | 174.4 MB | sha256:a51bb2d21451… | |||
docker.io/apache/age :dev_snapshot_PG16 | linux/amd64linux/arm64 | 2026/04/09 03:09 | 171.4 MB | sha256:c778b04973e1… | |||
docker.io/apache/age :release_PG14_1.6.0 | linux/amd64linux/arm64 | 2026/02/12 01:50 | 168.1 MB | sha256:510525e276b1… | |||
docker.io/apache/age :dev_snapshot_PG17 | linux/amd64linux/arm64 | 2026/02/11 16:50 | 172.3 MB | sha256:3c5f7083ea68… | |||
docker.io/apache/age :latest | linux/amd64linux/arm64 | 2026/02/06 02:28 | 173.3 MB | sha256:4e1b01c83061… | |||
docker.io/apache/age :release_PG18_1.7.0 | linux/amd64linux/arm64 | 2026/02/06 02:24 | 173.3 MB | sha256:8d6708762644… | |||
docker.io/apache/age :dev_snapshot_PG18 | linux/amd64linux/arm64 | 2026/01/22 04:10 | 173.3 MB | sha256:58af444bb3a5… | |||
docker.io/apache/age :dev_snapshot_Dev_Multiple_Labels | linux/amd64linux/arm64 | 2025/12/23 12:03 | 172.2 MB | sha256:b4375dea4dfb… | |||
docker.io/apache/age :release_PG15_1.6.0 | linux/amd64linux/arm64 | 2025/12/13 08:08 | 169.1 MB | sha256:2a3eacc03f6e… | |||
docker.io/apache/age :dev_snapshot_PG14 | linux/amd64linux/arm64 | 2025/11/20 05:48 | 168.1 MB | sha256:ec2335716045… | |||
docker.io/apache/age :dev_snapshot_PG15 | linux/amd64linux/arm64 | 2025/11/20 05:48 | 169.1 MB | sha256:c5ec49a10a35… | |||
docker.io/apache/age :release_PG17_1.6.0 | linux/amd64linux/arm64 | 2025/11/18 01:48 | 172.2 MB | sha256:2286e5eb88ae… | |||
docker.io/apache/age :release_PG16_1.6.0 | linux/amd64linux/arm64 | 2025/09/19 04:09 | 171.2 MB | sha256:80c8b2c6e906… | |||
docker.io/apache/age :dev_snapshot_PG18_prepare | linux/amd64linux/arm64 | 2025/06/10 23:45 | 0.0 MB | sha256:e3d18de45b29… | |||
docker.io/apache/age :dev_snapshot_PG17_prepare | linux/amd64linux/arm64/v8 | 2025/03/04 23:53 | 166.4 MB | sha256:df7173adbf13… | |||
docker.io/apache/age :dev_snapshot_PG13 | linux/amd64linux/arm64 | 2024/09/14 05:39 | 159.2 MB | sha256:c112471b0b57… | |||
docker.io/apache/age :dev_snapshot_PG11 | linux/amd64linux/arm64 | 2024/09/12 04:04 | 129.9 MB | sha256:28f133fa3608… | |||
docker.io/apache/age :dev_snapshot_PG12 | linux/amd64linux/arm64 | 2024/09/12 04:03 | 158.6 MB | sha256:2b7806af5380… | |||
docker.io/apache/age :release_PG16_1.5.0 | linux/amd64 | 2024/05/10 07:18 | 540.0 MB | sha256:1a11a7035ca1… | |||
docker.io/apache/age :release_PG15_1.5.0 | linux/amd64 | 2024/05/10 07:17 | 535.7 MB | sha256:61a0d6f14af9… |