-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
build(docker): add script to clean up docker environment #2013
Conversation
You can try the following command:
|
LGTM if we want a "real" nuke, but afaik that command also gets rid of images we probably don't need to get rid of, like kafka and Elasticsearch. Up to you if you want to modify the script to delete just the datahub images and volumes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, testing that command I had to redownload things like neo4j and Elasticsearch, which all took awhile. Can we kill just our images and volumes?
Since this is really to nuke everything so the user can start from a complete clean slate to avoid any possible issues, I think it's okay to drop and redownload those images? |
/shrug in theory they're isolated from the actual volumes, right? Try it yourself; it has to download a few GBs. Not good for time or data caps :) |
Good point. Use |
Thanks! |
Checklist