I am using the latest docker snap on a VPS and when I delete containers OR images, the space that they were consuming is not freed, that resulted in my VPS to go out of space.
Sorry for the lack of feedback on this issue. It’s quite strange that Docker wouldn’t free the disk space in this case. I can’t see why that would be a different code path.
The docker snap is maintained by Docker Inc. itself, so I’d start by reporting a bug there. Please link the bug here so we can keep an eye on the conversation and the fix.