We use the maven plugin for integration testing. The stopping of every container in a sequential order takes some time. As it is used just for testing, it would be better if the plugin could offer a mechanism to execute docker kill on every container, which should be almost immediate.
Not sure if I understand you correctly when you say 'kill on every' container, and why this is faster than proper docker:stop.
I think he means that a regular docker stop would wait for the process to terminate correctly while a hard docker rm -f would terminate the process with a sigkill which is faster for some heavy application servers.
I see and think it might be a valid use case for testing. I'm positive for adding a stopMode to RunImageConfiguration with e.g. possible values graceful and kill and implementing the proper semantics.
However, I can't do the coding but would happy to support a submitted PR (if you have some patience, as I'm really low on time which I can spend on d-m-p)
@rhuss : Shall I look into this?
@rohanKanojia would be awesome. You are the best ;-)
Most helpful comment
@rhuss : Shall I look into this?