-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
To Reproduce
Create MongoDB service and delete it. But this problem is not specific to this.
Current vs. Expected behavior
Deleting the service leaves the image and volume in Docker. This is normal. However, we expect the Web Server > Space: Clean All operation to delete these unused images and volumes. However, this operation leaves these unused images and volumes in Docker. If we manually perform this operation with sudo docker system prune -af and sudo docker volume prune -af, we will see that they are deleted. These will probably remain there without being cleaned even when the Daily Docker Cleanup setting is turned on.
Even when we update Dokploy, the old Dokploy image remains. This means an extra +3 GB of storage with each update.
Cleanups are important. In fact, it's recommended that the Daily Docker Cleanup setting be enabled by default. That is, if these cleaning issues are resolved.
Provide environment information
Ubuntu 24.04 LTSWhich area(s) are affected? (Select all that apply)
Application, Databases, Docker Compose, Docker
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
No response
Will you send a PR to fix it?
No