ASP.NET
.NET and ASP.NET runtimes pre-installed (versions 3.1, 5.0, and 6.0).
Source files (GitHub) Container images (Docker Hub)
Acknowledgements
Comes pre-installed with the ASP.NET runtime and all required dependencies.
Tags
.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).
Ports
Port | Description |
---|---|
| Serves HTTP content from your application. |
Volumes
Volume | Purpose |
---|---|
| Contains live application files. |
| Publish updated files to this directory and use aspnet-switch-terminate to make it go live. |
Environment Variables
Name | Values | Description | Default |
---|---|---|---|
| string | The filename of the assembly to execute. | None - required |
| string | Default value binds web server to port 5000 - should not normally need to be changed. | |
| 'true' or 'false' | This should always be set to true - it tells dotnet that it is running in a container environment. | 'true' |
| 'true' or 'false' | 'true' |
Last updated