Troubleshooting Amazon ECS CannotStopContainerError errors
The following are some CannotStopContainerError error messages and actions that you can take to fix the errors.
To check your stopped tasks for an error message using the Amazon Web Services Management Console, see Viewing Amazon ECS stopped task errors.
CannotStopContainerError
This error occurs when a container can’t be stopped.
For information about how to debug and fix this issue, see Why is my Amazon ECS task Stopped