Comment on page
ASP.NET
.NET and ASP.NET runtimes pre-installed (versions 3.1, 5.0, and 6.0).
.NET Version | Tags |
---|---|
3.1 | net3, net3.1, net3.1.21 |
5.0 | net5, net5.0, net5.0.12 |
6.0 | latest, net6, net6.0, net6.0.0 |
In addition, you can add
-dev
and -beta
suffixes to access development / test builds (see Docker Hub for further details).Port | Description |
---|---|
5000 | Serves HTTP content from your application. |
Volume | Purpose |
---|---|
/app/live | Contains live application files. |
/app/publish |
Name | Values | Description | Default |
---|---|---|---|
ASPNET_ASSEMBLY | string | The filename of the assembly to execute. | None - required |
ASPNETCORE_URLS | string | Default value binds web server to port 5000 - should not normally need to be changed. | |
DOTNET_RUNNING_IN_CONTAINER | 'true' or 'false' | This should always be set to true - it tells dotnet that it is running in a container environment. | 'true' |
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT | 'true' or 'false' | 'true' |
Last modified 1yr ago