cp-docker-images icon indicating copy to clipboard operation
cp-docker-images copied to clipboard

Graceful shutdown for docker images

Open fubhy opened this issue 6 years ago • 2 comments

Currently, the docker images distributed with this repository do not handle SIGTERM properly when running docker stop. It's inconvenient to manually run docker exec my-container /usr/bin/kavka-server-stop && docker stop my-container, instead, the entrypoint/cmd should be a script that also properly handles SIGTERM and runs the appropriate shutdown executable before killing the process.

fubhy avatar Jul 04 '18 06:07 fubhy

After the container is killed, a large number of partition directories need to be traversed when the container is rebuilt. The process takes a long time. Could the cp-kafka container monitor container stop signal and automatically execute command kafka-server-stop

cobolbaby avatar May 21 '20 03:05 cobolbaby

Is there any progress?

cobolbaby avatar May 21 '20 03:05 cobolbaby