openeuler/kongThe official Kong docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
Current Kong docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
Kong or Kong API Gateway is a cloud-native, platform-agnostic, scalable API Gateway distinguished for its high performance and extensibility via plugins. It also provides advanced AI capabilities with multi-LLM support.
Learn more on Kong Website.
The tag of each kong docker image is consist of the version of kong and the version of basic image. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 3.9.1-oe2403sp1 | Kong 3.9.1 on openEuler 24.03-LTS-SP1 | amd64, arm64 |
| 3.9.1-oe2403sp2 | Kong 3.9.1 on openEuler 24.03-LTS-SP2 | amd64, arm64 |
Choose a path to install Kong Gateway:
Prepare the database
Create a custom Docker network to allow the containers to discover and communicate with each other:
bashdocker network create kong-net
You can name this network anything you want. We use kong-net as an example throughout this guide.
Start a PostgreSQL container:
bashdocker run -d --name kong-database \ --network=kong-net \ -p 5432:5432 \ -e "POSTGRES_USER=kong" \ -e "POSTGRES_DB=kong" \ -e "POSTGRES_PASSWORD=kongpass" \ openeuler/postgres:{Tag}
Prepare the Kong database:
bashdocker run --rm --network=kong-net \ -e "KONG_DATABASE=postgres" \ -e "KONG_PG_HOST=kong-database" \ -e "KONG_PG_PASSWORD=kongpass" \ openeuler/kong:{Tag} kong migrations bootstrap
Where:
Start Kong Gateway
Important: The settings below are intended for non-production use only, as they override the default admin_listen setting to listen for requests from any source. Do not use these settings in environments directly exposed to the internet.If you need to expose the admin_listen port to the internet in a production environment, secure it with authentication.
Run the following command to start a container with Kong Gateway:
bashdocker run -d --name kong-gateway \ --network=kong-net \ -e "KONG_DATABASE=postgres" \ -e "KONG_PG_HOST=kong-database" \ -e "KONG_PG_USER=kong" \ -e "KONG_PG_PASSWORD=kongpass" \ -e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \ -e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" \ -e "KONG_PROXY_ERROR_LOG=/dev/stderr" \ -e "KONG_ADMIN_ERROR_LOG=/dev/stderr" \ -e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl" \ -e "KONG_ADMIN_GUI_URL=http://localhost:8002" \ -p 8000:8000 \ -p 8443:8443 \ -p 127.0.0.1:8001:8001 \ -p 127.0.0.1:8002:8002 \ -p 127.0.0.1:8444:8444 \ openeuler/kong:${Tag}
Where:
Verify your installation: Access the /services endpoint using the Admin API:
bashcurl -i -X GET --url http://localhost:8001/services
You should receive a 200 status code.
bashhttp://localhost:8002
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.

manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务