Skip to content

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

@pbkh-mengkong

Description

@pbkh-mengkong

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions