Skip to content
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

Some sort of implementation of cleanup/pruning #45

Closed
mrtnbr opened this issue Jun 14, 2022 · 3 comments · Fixed by #49
Closed

Some sort of implementation of cleanup/pruning #45

mrtnbr opened this issue Jun 14, 2022 · 3 comments · Fixed by #49
Assignees
Labels
enhancement New feature or request investigate Investigate whether or not issue is usable/feasible
Milestone

Comments

@mrtnbr
Copy link
Contributor

mrtnbr commented Jun 14, 2022

Some sort of implementation of cleanup/pruning: https://docs.docker.com/config/pruning/

I often find myself using dc and then cleaning up using docker pruning. It might be useful to have some support for this in dc, althought I'm unsure yet how to.

@brhahlen brhahlen self-assigned this Jun 14, 2022
@brhahlen brhahlen added enhancement New feature or request investigate Investigate whether or not issue is usable/feasible labels Jun 14, 2022
@brhahlen brhahlen added this to the 2.0.0 milestone Jun 14, 2022
@brhahlen
Copy link
Owner

Ok, so first thought would be to implement a prune command, that would do a docker container prune, docker volume prune and docker image prune
Perhaps make that configurable?

@brhahlen
Copy link
Owner

Ah, or system prune

@mrtnbr
Copy link
Contributor Author

mrtnbr commented Jun 14, 2022

Ah, or system prune

I use 'docker system prune --volumes --force' in my setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request investigate Investigate whether or not issue is usable/feasible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants