-
Notifications
You must be signed in to change notification settings - Fork 62
Description
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...