openresty / openresty/docker-openresty

mkdir() "/var/run/openresty/nginx-client-body" failed

Open
#124 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1k
Forks
536
Avg merge
1d 32m
Merged PRs (30d)
1

Description

To reproduce:

$ docker pull openresty/openresty:1.15.8.2-2-centos
$ docker run --rm openresty/openresty:1.15.8.2-2-centos
2019/10/04 08:24:02 [emerg] 1#1: mkdir() "/var/run/openresty/nginx-client-body" failed (2: No such file or directory)
nginx: [emerg] mkdir() "/var/run/openresty/nginx-client-body" failed (2: No such file or directory)

Is this a regression? I can work around it by adding my own dockerfile and creating the directory in there. This issue is not present in openresty/openresty:1.15.8.1-4-centos.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the Docker build steps and filesystem setup for openresty/openresty:1.15.8.2-2-centos with 1.15.8.1-4-centos, then reproduce the container startup failure. Done means the affected image starts without the nginx-client-body mkdir error, with a regression check covering the reported image tag.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.