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

Add flag to not garbage collect any containers.#120

Open
tomstockton wants to merge 1 commit intospotify:masterfrom
tomstockton:master
Open

Add flag to not garbage collect any containers.#120
tomstockton wants to merge 1 commit intospotify:masterfrom
tomstockton:master

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.

2 participants