Skip to content

felixrabe-attic/felixrabe-spikes--2014-009-docker-signal-handling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker signal handling

Caveat (aka Known Issues)

Whereas this works, wait-for-signals-2.sh (commented out as ENTRYPOINT in Dockerfile) will not react to signals. See related Docker issues.

How to run this spike

Build:

docker build -t test-sigint .

Run as "int":

docker run --name int --rm test-sigint 4
echo "Exit code: $?"

or in the background:

docker run --name int -d test-sigint 4

Monitor and kill:

docker ps
docker kill -s INT int
docker stop -t 8 int

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages