快速参考
-
维护者:
Kong Docker 维护者 -
在哪里获得帮助:
Docker 社区 Slack、Server Fault、Unix & Linux 或 Stack Overflow
支持的标签及相应的 Dockerfile 链接
快速参考(续)
-
在哪里提交问题:
https://github.com/kong/kong/issues -
发布图像工件详细信息:
仓库信息仓库的repos/kong/目录(历史)
(图片元数据,传输大小等) -
图像更新:
官方镜像仓库的library/kong标签
official-images repo'slibrary/kongfile (history) -
Source of this description:
docs repo'skong/directory (history)
What is Kong?
Kong Gateway is the world’s most adopted API gateway. Lightweight, fast, and flexible, this open source gateway is built for hybrid and multi-cloud and optimized for microservices and distributed architectures.
Built on this open source DNA, Kong’s unified cloud API platform helps organizations ranging from startups to Fortune 500 enterprises unleash developer productivity, build securely, and accelerate time to market.
Kong's official documentation can be found at docs.konghq.com.
How to use this image
Please refer to the installation section on our documentation website to learn how to use this image.
图像变体
kong 图像有多种类型,每种都为特定用例设计。
kong:<version>
这是事实上的镜像。如果你不确定自己的需求是什么,你可能想要使用这一个。它被设计为既可以作为一次性容器使用(挂载你的源代码并启动容器来启动你的应用),也可以作为构建其他镜像的基础。
kong:<version>-alpine
这张图片基于流行的 Alpine Linux 项目,可在 alpine 官方镜像中找到。Alpine Linux 比大多数发行版基础镜像要小得多(约 5MB),因此通常会产生更精简的镜像。
当尽可能减小最终图像大小是您的主要关注点时,这种变体很有用。需要注意的主要问题是,它使用的是 musl libc 而不是 glibc 及其相关库,因此软件常常会因为它们对 libc 需求/假设的深度而遇到问题。有关可能出现的问题的更多讨论以及使用基于 Alpine 的图像的一些利弊比较,请参见这个 Hacker News 评论线程。
为了最小化镜像大小,基于 Alpine 的镜像中通常不包含额外的相关工具(例如 git 或 bash )。以这个镜像为基础,在您自己的 Dockerfile 中添加您需要的东西(如果您不熟悉如何安装软件包,请参阅 alpine 镜像描述中的示例)。
许可证
查看此映像中包含的软件的许可信息。
与所有 Docker 镜像一样,这些可能也包含其他可能在其他许可证下的软件(例如基础分发中的 Bash 等,以及包含的主要软件的任何直接或间接依赖项)。
一些能够自动检测到的额外许可信息可能在 repo-info 仓库的 kong/ 目录中找到。
对于任何预构建的镜像使用,使用镜像的用户有责任确保对该镜像的任何使用都符合其中包含的所有软件的相关许可证。