Make graceful restarting available in wider configurations by ktock · Pull Request #2077 · containerd/stargz-snapshotter (original) (raw)

Depends on #2076
Following up #1892

When stargz snapshotter receives SIGINT, it perform the graceful exit with explicitly unmounting the mountpoints and releasing the associated resources.

This PR makes this avilablable also in the following situations

This PR also adds docs about how to gracefully kill and restart Stargz Snapshotter under different configurations.