PGBI / kong-dashboard

Dashboard for managing Kong gateway
MIT License
2.17k stars 390 forks source link

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

Open pbkh-mengkong opened 5 years ago

pbkh-mengkong commented 5 years ago

/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.