Problem while running KOng gateway

Hi Docker Team,

When we are trying to run Kong Gateway in docker container, we are getting below issue.

the “user” directive makes sense only if the master process runs with super-user privileges, ignored in /usr/local/kong/nginx.conf:6
2022/09/20 10:13:16 [error] 1#0: init_by_lua error: /usr/local/share/lua/5.1/kong/init.lua:553: error parsing declarative config file /root/data/KONG/kong.yaml:
/root/data/KONG/kong.yaml: Permission denied

Request you to please provide your insight into it to find the solution.

I would be grateful for your prompt reply.

However, we applied all the permission to the file like 777.

Further I have root user login so I am running docker run command as root user.

Thank you.

1 Like