Overview

Full name
docker.io/kong/kong-gateway
Registry
docker.io
Namespace
kong
Repository
kong-gateway
Cached tags
2452
Last synced
07/05/2026, 05:32 AM

Introduction

Kong Gateway 企业 API 网关镜像,路由/限流/认证/可观测性插件,微服务与 AI API 统一入口。

Details

kong/kong-gateway 运行 Kong Gateway 企业级 API 网关,提供 L7 路由、限流、OAuth2/JWT 认证、mTLS 与 OpenTelemetry 可观测性插件。定位为 API 网关数据面,需 PostgreSQL 存储配置或 DB-less 模式;K8s Deployment + Ingress Controller 微服务统一入口。

快速启动

docker run -d --name kong \
  -p 8000:8000 -p 8443:8443 -p 8001:8001 \
  -e KONG_DATABASE=off \
  -e KONG_DECLARATIVE_CONFIG=/kong/kong.yml \
  docker.io/kong/kong-gateway:latest

推荐实践

docker run -d --name kong \
  --restart unless-stopped \
  -p 8000:8000 -p 8443:8443 -p 8001:8001 \
  -e KONG_DATABASE=postgres \
  -e KONG_PG_HOST=postgres.internal \
  -e KONG_PG_PASSWORD=changeme \
  docker.io/kong/kong-gateway:3.6.0

核心参数说明

  • -p 8000:8000 — Proxy HTTP 入口
  • -p 8001:8001 — Admin API
  • -e KONG_DATABASE — postgres/off 模式
  • -e KONG_PG_PASSWORD — DB 密码(高敏

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: kong-gateway
spec:
  replicas: 2
  selector:
    matchLabels:
      app: kong
  template:
    metadata:
      labels:
        app: kong
    spec:
      containers:
        - name: kong
          image: docker.io/kong/kong-gateway:3.6.0
          ports:
            - containerPort: 8000
            - containerPort: 8001
          envFrom:
            - secretRef:
                name: kong-env
---
apiVersion: v1
kind: Service
metadata:
  name: kong-proxy
spec:
  selector:
    app: kong
  ports:
    - port: 8000
      targetPort: 8000

Kong Ingress Controller 可选;PostgreSQL 独立 StatefulSet。

Latest tags (20)

View all 2452 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/kong/kong-gateway
:3.14.0.7-20260623-rhel-fips
linux/amd64
2026/06/23 20:47163.0 MBsha256:0898df52c6f7
docker.io/kong/kong-gateway
:3.14.0.7-rhel-fips
linux/amd64
2026/06/23 20:47163.0 MBsha256:0898df52c6f7
docker.io/kong/kong-gateway
:3.14-rhel-fips
linux/amd64
2026/06/23 20:47163.0 MBsha256:0898df52c6f7
docker.io/kong/kong-gateway
:3.14.0.7-20260623-rhel
linux/amd64linux/arm64
2026/06/23 20:46160.7 MBsha256:d44071f6a284
docker.io/kong/kong-gateway
:3.14.0.7-rhel
linux/amd64linux/arm64
2026/06/23 20:46160.7 MBsha256:d44071f6a284
docker.io/kong/kong-gateway
:3.14-rhel
linux/amd64linux/arm64
2026/06/23 20:46160.7 MBsha256:d44071f6a284
docker.io/kong/kong-gateway
:3.14.0.7-20260623-debian
linux/amd64linux/arm64
2026/06/23 20:46126.5 MBsha256:97634e13d4a8
docker.io/kong/kong-gateway
:3.14.0.7-debian
linux/amd64linux/arm64
2026/06/23 20:46126.5 MBsha256:97634e13d4a8
docker.io/kong/kong-gateway
:3.14-debian
linux/amd64linux/arm64
2026/06/23 20:45126.5 MBsha256:97634e13d4a8
docker.io/kong/kong-gateway
:3.14.0.7-20260623-amazonlinux-2023
linux/amd64linux/arm64
2026/06/23 20:45154.1 MBsha256:46b1477e8f58
docker.io/kong/kong-gateway
:3.14.0.7-amazonlinux-2023
linux/amd64linux/arm64
2026/06/23 20:45154.1 MBsha256:46b1477e8f58
docker.io/kong/kong-gateway
:3.14-amazonlinux-2023
linux/amd64linux/arm64
2026/06/23 20:45154.1 MBsha256:46b1477e8f58
docker.io/kong/kong-gateway
:3.14.0.7-20260623-ubuntu
linux/amd64linux/arm64
2026/06/23 20:44130.0 MBsha256:b7e05e4dad68
docker.io/kong/kong-gateway
:3.14.0.7
linux/amd64linux/arm64
2026/06/23 20:44130.0 MBsha256:b7e05e4dad68
docker.io/kong/kong-gateway
:3.14.0.7-20260623-amazonlinux-2
linux/amd64linux/arm64
2026/06/23 20:44170.9 MBsha256:a2a77010ac19
docker.io/kong/kong-gateway
:3.14.0.7-ubuntu
linux/amd64linux/arm64
2026/06/23 20:44130.0 MBsha256:b7e05e4dad68
docker.io/kong/kong-gateway
:3.14.0.7-amazonlinux-2
linux/amd64linux/arm64
2026/06/23 20:44170.9 MBsha256:a2a77010ac19
docker.io/kong/kong-gateway
:latest
linux/amd64linux/arm64
2026/06/23 20:44130.0 MBsha256:b7e05e4dad68
docker.io/kong/kong-gateway
:3.14-amazonlinux-2
linux/amd64linux/arm64
2026/06/23 20:44170.9 MBsha256:a2a77010ac19
docker.io/kong/kong-gateway
:latest-ubuntu
linux/amd64linux/arm64
2026/06/23 20:44130.0 MBsha256:b7e05e4dad68