Kill -9 should always be a last resort solution.

docker stop should work.

But beware the stop timeout. If for some reason your Jenkins instance takes
more than 10 seconds to stop gracefully, docker will then kill (-9) it.
In that case use the option to possibly make that timeout a bit higher.
Cheers
Le 18 nov. 2015 3:04 PM, "Stanislav Baiduzhyi" <[email protected]>
a écrit :

> The obvious option to stop dockered jenkins would be:
> docker stop some-container-name
>
> But is that the correct way, or is it similar to kill -9 and there is
> a proper way of stopping it "gently"?
>
> Regards,
> Stanislav
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAFHiie7Rcsu4B2xWbNN5gJv%3DOn4H83Xaf0BS3inCtrezqtgBsQ%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4wAo%2BYZv0xKiQJ1CTw%2BighQb_2efUHazn49hxbWNdQVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to