-
Notifications
You must be signed in to change notification settings - Fork 2
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
Missing --remove-orphans
option
#9
Comments
Ahhh! We can certainly add it - does it make sense to add to every command (up/start/stop/restart/reload/destroy)? |
Hmmm what does |
So Agreed we should make it consistent with compose (also |
Ah that's interesting - just confusing that currently the docker-compose output asks for the Agree that |
@chrissinclairedited agreed! Wonder if we can hook into the output of compose and remove/replace those lines. Maybe it's just easier to add |
Hmmm possibly - might be a bit awkward to filter out just those messages (I'm guessing you'd have to hook into the stdout / stderr stream from the compose process, and then be clever about stripping out just that text whilst respecting all the various control characters docker-compose uses). TBH it might be easier to check if there are any orphans and if so present a |
I've got a kubetools.yml config file, where I've now changed a container from being
dev: true
to only being deployed in the production namespace & environment. This has left me with some orphaned containers.ktd reload
spots this and suggests using the--remove-orphans
flag to tidy them up:However running that gives me a
no such option
error:The text was updated successfully, but these errors were encountered: