Skip to content

rquackenbush/DotNetSigTermTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Core SIGTERM Test

While watching this video from dockercon sf 18, I learned that handling SIGTERM correctly is important in container applications.

This stackoverflow answer had some good information.

This repo tests the above approach in a trivial .NET Core container application. The key is to handle the AppDomain.CurrentDomain.ProcessExit event.

About

Testing responding to SigTerm in a Linux docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published