Skip to content
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

Include guidance on .NET 8 deployment #86

Open
JoeMarkov opened this issue Nov 23, 2023 · 0 comments
Open

Include guidance on .NET 8 deployment #86

JoeMarkov opened this issue Nov 23, 2023 · 0 comments

Comments

@JoeMarkov
Copy link

Please add some guidance on how to properly deploy a .NET 8 container to ACI , that is running as non-root user and wants to listen to port 80.

There's some recent changes in .NET 8 as described here:
https://learn.microsoft.com/en-us/dotnet/core/compatibility/containers/8.0/aspnet-port

The change to the port number was made because of the need to provide a good usability experience when switching to a non-root user. Running as a non-root user requires the use of a non-privileged port in some environments. Since port 80, the previous default port, is a privileged port, the default was updated to port 8080, which is a non-privileged port.

So, what is the guidance, if I want to expose 80, can I do that as a non-root user or how do I avoid running my container as a non-root user?

confusing times...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant