openresty / docker-openresty

Docker tooling for OpenResty
https://hub.docker.com/r/openresty/openresty
BSD 2-Clause "Simplified" License
935 stars 525 forks source link

[emerg] 1#1: mkdir() "/var/run/openresty/nginx-client-body" failed #251

Closed kaizen-c closed 3 months ago

kaizen-c commented 4 months ago

When running openresty:1.25.3.1-3-jammy in kubernetes cluster you get below error.

[emerg] 1#1: mkdir() "/var/run/openresty/nginx-client-body" failed (13: Permission denied)

Is this a regression as in #124 ?

neomantra commented 4 months ago

There no longer is a VOLUME directive in the Dockerfiles (see #128), so it is probably not that. Are you bind-mounting a volume to /var/run/openresty?

kaizen-c commented 3 months ago

Hey @neomantra i think i did a misconfiguration from my side.