As I understand it, #12371 made it an error to attempt to kill a non-running container. This makes sense, but it's very likely that lots of code out there relies on the current idempotency of the kill operation. The old behaviour should be preserved for older API versions.