-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up dead containers after ECS_ENGINE_TASK_CLEANUP_WAIT_DURATION #1684
Comments
Also, include 'Created' status to cover those cases where Docker times out to create a container and it remains in 'Created' status, Example: [...] created docker container for task: cron -> , took 4m0.000109703s This container will remain in 'Created' status. |
also cleanup of 'dangling' images that have no tags or names associated with them (ie, they show as <none> in 'docker images') see aws#1684
also cleanup of 'dangling' images that have no tags or names associated with them (ie, they show as <none> in 'docker images') see aws#1684
also cleanup of 'dangling' images that have no tags or names associated with them (ie, they show as <none> in 'docker images') closes aws#1684 unit tests
While working on the solution to this I also noticed that we had a problem with cleaning up "dangling" docker images ( I have included a fix for this as well as part of #2015 |
also cleanup of 'dangling' images that have no tags or names associated with them (ie, they show as <none> in 'docker images') closes aws#1684 unit tests
also cleanup of 'dangling' images that have no tags or names associated with them (ie, they show as <none> in 'docker images') closes aws#1684 unit tests
also cleanup of 'dangling' images that have no tags or names associated with them (ie, they show as <none> in 'docker images') closes aws#1684 unit tests
also cleanup of 'dangling' images that have no tags or names associated with them (ie, they show as <none> in 'docker images') closes aws#1684 unit tests dont touch dangling images -- for now
also cleanup of 'dangling' images that have no tags or names associated with them (ie, they show as <none> in 'docker images') closes aws#1684 unit tests dont touch dangling images -- for now skip containers that don't have a finished time
also cleanup of 'dangling' images that have no tags or names associated with them (ie, they show as <none> in 'docker images') closes aws#1684 unit tests dont touch dangling images -- for now skip containers that don't have a finished time
also cleanup of 'dangling' images that have no tags or names associated with them (ie, they show as <none> in 'docker images') closes #1684 unit tests dont touch dangling images -- for now skip containers that don't have a finished time
closed by #2015 |
Summary
Based on what I got from customers, so far after ECS_ENGINE_TASK_CLEANUP_WAIT_DURATION, agent cleans up only the stopped tasks and docker images that are not being used by any tasks on your container instances. They also want agent to clean up containers in 'dead' status.
Currently, customers' workaround is to run this command "#docker rm $(docker ps --all -q -f status=dead)" to manually remove the dead containers.
The text was updated successfully, but these errors were encountered: