You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be multiple options for the base image. However it is unclear how to use them. Furthermore, the alpine folder image is build from alpine-slim while the Dockerfile in /alpine-slim/ is using the base alpine image.
A clear and concise description of how you should use the alpine-slim version in the docs would be nice.
Furthermore both nginxinc/nginx-unprivileged:1.24.0-alpine-slim and nginxinc/nginx-unprivileged:alpine-slim gives: Error response from daemon: unable to find user www-data (or any other user): no matching entries in passwd file. But using the base nginxinc/nginx-unprivileged works as expected.
The text was updated successfully, but these errors were encountered:
Both images seem to be running correctly on my end and I can't reproduce your issue. There is supposed to be no user since these are unprivileged images (the system running the container decides what the user is). Are you perhaps changing the default config file?
Re how to use the alpine-slim version, I am not entirely sure we need to add more info? I am not entirely sure what shape that info would take? It's as simple as running docker run -d nginxinc/nginx-unprivileged:1.24.0-alpine-slim -- and I am a bit wary of adding docs re how to use Docker to this repo since this is not the place such docs should live. I can add a little table detailing which tags are available but that's about the extent of what I want to do.
Re how the images are built, I am hoping to do a more detailed write up re how to locally build and test the images, but I don't have a realistic ETA for it. The tl;dr is that the alpine-perl image uses the alpine NGINX image to speed up the build process. Same thing happens between the alpine NGINX image and the alpine-slim image.
There seems to be multiple options for the base image. However it is unclear how to use them. Furthermore, the
alpine
folder image is build fromalpine-slim
while the Dockerfile in/alpine-slim/
is using the basealpine
image.A clear and concise description of how you should use the alpine-slim version in the docs would be nice.
Furthermore both
nginxinc/nginx-unprivileged:1.24.0-alpine-slim
andnginxinc/nginx-unprivileged:alpine-slim
gives: Error response from daemon: unable to find userwww-data
(or any other user): no matching entries in passwd file. But using the basenginxinc/nginx-unprivileged
works as expected.The text was updated successfully, but these errors were encountered: