-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify how to use the different base image versions. #179
Comments
Hey @syker-uk! 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 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 |
I have the same issue that user
|
Alpine images don't have a If you'd like to see it be created by default, I would suggest opening an issue in the upstream Docker NGINX repo to discuss the idea, but you should also be able to easily tweak the Alpine image and/or Dockerfiles to have it be present. |
Thanks for the clarification @alessfg |
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: