Comments (5)
Hi @smueller18!
Can you give me some more details about how and where are you trying to run the image? I tested it locally and on OpenShift and I didn't run into any issues. /var/cache/nginx
is no longer in use either (switched the default location for NGINX files to /tmp/
too).
Cheers,
Alessandro.
from docker-nginx-unprivileged.
I just saw https://github.com/nginxinc/docker-nginx-unprivileged/blob/master/mainline/alpine/Dockerfile#L115 . There are 2 reasons why this new image fails for my setup:
- The user changed from
1001
to101
/var/cache/nginx/
is now moved to/tmp
I did not use the earlier provided nginx.conf
so I have to manually adjust the changes in all my configs. I guess there are other people that are facing the same issue.
But after changing my custom nginx.conf
to the new paths and switching the user to 101
it works again now.
from docker-nginx-unprivileged.
Last weekend, I opened a PR (nextcloud/docker#772) for the nextcloud docker project.
There is a config that also fails now until it is adjusted: https://github.com/nextcloud/docker/blob/2e00c8cb18ac6d94b756612f5f9223470c4a44d9/.examples/docker-compose/insecure/mariadb-cron-redis/fpm/web/nginx.conf .
from docker-nginx-unprivileged.
Ah yeah I'm sorry about that. I didn't make any notes anywhere mentioning the two breaking changes and forgot to update the README too while at it (that's been already fixed).
The main NGINX Docker image introduced some changes to make it easier to run the image as a non root user and in the process of porting those changes the uid
and temp folder locations changed. However, on a more positive note, I expect few breaking changes moving forward.
from docker-nginx-unprivileged.
I am fine with that, it was just a bit unexpected 😄
from docker-nginx-unprivileged.
Related Issues (20)
- Please add bookworm-stable tag with current stable version based on Debian 12 HOT 5
- Non-container guide HOT 2
- Allow contaiener root user to start nginx process and its workers when used in rootless podman HOT 1
- Publish image to a registry that is not rate-limited HOT 4
- nginx defaults to 8080 even if we tell otherwise HOT 8
- Add `;` in readme for Line 35
- Update image to mitigate CVE-2023-44487 vulnerability HOT 3
- Improve local testing docs
- Does image build include installing security updates? HOT 1
- Add another common issue to the README section
- proxy_bind transparent whithout root user HOT 1
- Clarify how to use the different base image versions. HOT 1
- Alpine 3.19 Upgrade HOT 1
- Stable Perl images using mainline nginx? HOT 1
- Upgrade Base Image of nginxinc/docker-nginx-unprivileged from stable-bullseye to stable-bookworm HOT 6
- Container images pushed to Dockerhub are changing checksums without changing version HOT 3
- nginxplus version HOT 2
- Images with tags fixing alpine versions are missing HOT 2
- Pack and run Vue Application based on nginx-unprivileged in Kubernetes HOT 3
- CVE-2023-50387 in systemd 252.22 in nginxinc/nginx-unprivileged:latest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-nginx-unprivileged.