jlesage / docker-baseimage-gui

A minimal docker baseimage to ease creation of X graphical application containers
MIT License
1.2k stars 179 forks source link

Change the time until the SIGKILL signal. #126

Closed Roalkege closed 4 months ago

Roalkege commented 8 months ago

After 5 seconds, all remaining processes are forcefully terminated via the SIGKILL signal.

Is it possible to change the time until the SIGKILL signal? 5 seconds isn't enough for my use case. Sometimes this corrupts data.

jlesage commented 8 months ago

This is currently not configurable per service, but I will look at this. This is a good feature.

Note however that if the container takes too long to terminate by itself, Docker will forcefully do it.

jlesage commented 4 months ago

Now implemented with the latest version of the baseimage via the SERVICES_GRACETIME environment variable.