flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathleen Sharp <kathleen.sh...@signavio.com>
Subject Docker PID 1
Date Mon, 10 Apr 2017 16:00:15 GMT
Hi,

I was playing about with flink using the docker images provided,
however I noticed that the entry point is a bash script.

There is a problem in using bash as the PID1 process in a docker
container as docker sends SIGTERM, but bash doesn't send this to its
child processes.

This means for example that if a container was ever killed and a child
process had a file open then the file may get corrupted.

It's covered in more detail in a blog post here:
https://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zombie-reaping-problem/

If this is a big enough concern should I raise a jira ticket?

Kat

Mime
View raw message