Closed staugust closed 2 years ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Ⅰ. Describe what this PR did
Make
pouch stop -t 0 ${cid}
behaves as its help message describes, that is to say stop container immediately. See https://github.com/moby/moby/blob/68bec0fcf7a5eeb59c027287d06598098edc9f2c/daemon/stop.go#L71Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
Ⅳ. Describe how to verify it
Here's command to verify it:
For now,
pouch stop
costs about 10 seconds to stop the container that doesn't response to sig-term. With this commit, pouch stops container immediately.Ⅴ. Special notes for reviews