-
Notifications
You must be signed in to change notification settings - Fork 35
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
unprivileged version #42
Comments
Just tweak the entrypoint to set the work directory in
From there, you can run as an unpriviliged user. Just note that all the other I'm closing this as it's not a bug, please use the usual help channels if you wish to continue this discussion. |
The things you mention I already and this indeed is not a bug. So no help is needed. I raised this issue as a feature request (and I don't see other options for that, other then update this repo with a pull request of my fork) From my point of view this would be a great addon for the official images on Dockerhub. If not... then I rest my case and continu using my own containers. |
my bad, I didn't realize that was an actual feature request . If you open a pull request, we would be happy to look at it. I would prefer though if we had a way to not make it a variant though and simply an option. The biggest issue I have is handling the work directory in a sane manner. But, I feel I need to reiterate that you don't actually need a new image, just running a container like this:
is enough to run an unprivileged user. I'm reopening this issue since it's indeed worth having that discussion. |
interestingly, port
and things work. the only breakage would be for people using us in It seems like a decent solution to solve this feature request, I'll go with that and push a new image with the |
If I understand the release model correctly only bug & security fixes are to be backported into previous stable image tags as per https://github.com/varnish/docker-varnish/blob/v6.5/README.md?plain=1#L10 . Why did the unprivileged feature make it into |
Hi, So, there's currently no promise on the image stability, the documentation you point at describes the Varnish releases that are going to follow this pattern. That being said, we don't enjoy breaking changes and now that we've had some experience in the Originally, we started with the same template for all the versions so we could iterate faster, but we don't need that anymore, so I opened #45 to track this |
When using container on Kubernetes which is running in unprivileged mode port 80 can't be used.
This results in the following error:
Would it be possible to create a image variant where the port is 8080 (>1024)?
A good example of that approach can be found here: https://github.com/nginxinc/docker-nginx-unprivileged
The text was updated successfully, but these errors were encountered: