mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.5k
- Forks
- 1.8k
- Avg merge
- 42m
- Merged PRs (30d)
- 2
Description
Hello,
I'm using the image nginx:alpine and sometime for the first docker-compose up -d I got this error spammed in logs and container restarting:
mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)
If I docker-compose up -d again my container will be fixed but why ?
Best regards,
Lucas BOPP
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the nginx:alpine image and the docker-compose up -d entry point, then inspect the container logs across repeated starts. Done means explaining why the client_temp directory sometimes lacks permission and identifying the environment or configuration condition responsible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, nginx
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100