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
Provide "ddev poweroff" that shuts down all running containers #1588
Comments
But I still agree that something like |
Thanks, @rfay. OK, there's already a way to do it via command line - but it's too arcane to remember easily ;) So yeah, |
Well, the only thing that's left running currently (when no projects are running) is the ssh-agent container, and that's really intended to run until shutdown (because it keeps the ssh credentials for you). But something like poweroff is in our future I think. Related: #1562 requesting cleanup and #1465 about cleaning up unused volumes. People have also requested |
Thanks and tip of the hat to our friends at lando
After shutting down or removing the last running ddev instance, there is still one container left running - the ssh-agent container. This can play havoc with other docker-based systems if one forgets to do this (which is very easy to forget):
I am proposing that ddev either provide a new command to completely shut itself down (like Lando's
lando poweroff
or, preferably, simply to kill that final container when the last running ddev instance is shut down or removed.The text was updated successfully, but these errors were encountered: