【发布时间】:2019-11-19 23:35:14
【问题描述】:
我有一个使用 Dockerfile 运行的 Kong 实例,其中包含内容:
FROM kong:1.4.0
WORKDIR /files
COPY plugins kong/plugins
ENV KONG_LOG_LEVEL=debug
ENV KONG_PLUGINS custom-plugin
ENV KONG_LUA_PACKAGE_PATH /files/?.lua;;
但是,在 docker run 上,这会返回
error loading plugin schemas: on plugin 'custom-plugin': custom-plugin plugin is enabled but not installed;
module 'kong.plugins.custom-plugin.handler' not found:No LuaRocks module found for kong.plugins.custom-plugin
我已确认文件结构正确,运行时嵌套在 kong/plugins 目录中。
谁能帮忙解决这个问题?
【问题讨论】:
标签: docker dockerfile kong