Skip to content

boeegh/dotnet-runx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnet-runx

.NET Framework runtime container with a few tweaks:

  • Uses 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, and so is not built as a self-contained deployment.

Usage

# 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.