Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

License

Notifications You must be signed in to change notification settings

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.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.