dokploy
dokploy copied to clipboard
fix: docker cleanup clears away all unused residue
What is this PR about?
If the --all flag is not used during Docker cleanups, we encounter the following problems:
- When we update Dokploy, an older version of Dokploy takes up space (almost +3 GB) even if it's not being used.
- When we delete a service, its leftovers continue to take up space.
- When we delete a database, its volume continues to take up space.
Although they are no longer used, --all is required to purge them.
Checklist
Before submitting this PR, please make sure that:
- [x] You created a dedicated branch based on the
canarybranch. - [x] You have read the suggestions in the CONTRIBUTING.md file https://github.com/Dokploy/dokploy/blob/canary/CONTRIBUTING.md#pull-request
- [x] You have tested this PR in your local instance.
Issues related (if applicable)
closes #3014