when stop the container timeout,ignite will kill the container's task by syscall and delete the killed task.
In practice,kill task will takes a little time to finish (maybe a few hundred milliseconds),
but delete func does not wait for the kill task to complete. It immediately starts checking that the container's task is not running and tries to delete it.
but now,before kill task has completed , the container's task is still running. Therefore, the delete function cannot successfully delete the container.even after a few hundred milliseconds, the container has stopped
when stop the container timeout,ignite will kill the container's task by syscall and delete the killed task. In practice,kill task will takes a little time to finish (maybe a few hundred milliseconds), but delete func does not wait for the kill task to complete. It immediately starts checking that the container's task is not running and tries to delete it. but now,before kill task has completed , the container's task is still running. Therefore, the delete function cannot successfully delete the container.even after a few hundred milliseconds, the container has stopped