PGBI/kong-dashboard

/usr/local/kong: /usr/local/kong/logs/error.log: Permission denied in Docker file

Opened this issue · 0 comments

/usr/local/kong: /usr/local/kong/logs/error.log: Permission denied

I have a problem with docker file.
When run docker-compose to start container I got the error in kong API-gateway. Permission denied
How can I solve it?
How can I change that permission?

In this case, I have a problem with my environment because when running this project on another CP in work find.

Log container status exit (1).

Error: could not prepare Kong prefix at /usr/local/kong: /usr/local/kong/logs/error.log: Permission denied

  Run with --v (verbose) or --vv (debug) for more details

Dockerfile

FROM kong:0.13.0

COPY ./files/usr/local/kong/ /usr/local/kong/
...
...

Sorry I can't show you more code beacuse it is my company polocy.

Please advice and suggestion to solve this problem.