feat: faster container stop (force stop)
Description
To speed up clone destroy and reset we will use docker rm --force
instead of docker stop && docker rm
.
--force
uses SIGKILL
to terminate the main process inside of container, it's faster and we can use it because we don't need to preserve clone's changed PGDATA after it's destroy.
Related issue
Examples
Checklist
-
the MR description has been reviewed -
this MR contains text changes and they have been reviewed OR there are no texts changes -
this MR contains GUI/CLI changes and they have been reviewed OR there are no GUI/CLI changes -
this MR contains API changes, specifications reflect those changes and they have been reviewed OR there are no API changes
Edited by Nikolay Samokhvalov