An open API service indexing awesome lists of open source software.

https://github.com/boeegh/dotnet-runx

.NET Framework 6-8 runtime containers with a few tweaks
https://github.com/boeegh/dotnet-runx

asp-net-core aspnet-core docker dotnet dotnet-framework framework6 framework7 net-6 net-7 net-core

Last synced: 4 months ago
JSON representation

.NET Framework 6-8 runtime containers with a few tweaks

Awesome Lists containing this project

README

          

# dotnet-runx
.NET Framework runtime container with a few tweaks:

* Uses [dumb-init](https://github.com/Yelp/dumb-init) to ensure proper signalling
* Automatically attempts to find and start proper dll
* Run as `dotnet` (uid/gid: 1737) user/group

Note: It's assumed that the application is [framework-dependent](https://learn.microsoft.com/en-us/dotnet/core/deploying/), and so is _not_ built as a self-contained deployment.

## Usage
```powershell
# run the web app in the current directory (browse using http://localhost:8123)
docker run -p 8123:80 --rm -v ${PWD}:/app boeegh/dotnet-runx:7.0

# run the .net app in the current directory
docker run --rm -v ${PWD}:/app boeegh/dotnet-runx:7.0

# manually specify the dll to run (the default .NET image behaviour)
docker run -v ${PWD}:/app boeegh/dotnet-runx:7.0 dotnet ./MyApp.dll
```

_Please note this is an experimental image that may... explode at any time. Use with caution. Or not at all._