Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Add flag to not garbage collect any containers. #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomstockton
Copy link
Contributor

If the user would prefer to not garbage collect any containers then specify environment variable:

REMOVE_CONTAINERS=1

This is useful specifically in an environment such as Amazon ECS whereby containers are already cleaned up (and removal of them by another service causes issues) but images are not.

aws/amazon-ecs-agent#364
aws/amazon-ecs-agent#118

@codekitchen
Copy link

👍 This is generally useful outside of ECS as well, I'd love to see it merged in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants