Docker VM disk space being slowly consumed

I have noticed that the disk space used on my Docker VM continues to climb even though I always delete the task datasets and output files and start from scratch in most cases.

What is consuming the space and what can I do to either prevent it or to clean it up?

Thanks!

Yeah that’s docker’s typical behavior. A few good tips are here https://lebkowski.name/docker-volumes/

So I have had to tear down and rebuild my VM several times in the past few weeks due to the VM’s disk space being slowly consumed.

I looked at the link referenced above and have been using the docker system prune and docker system prune -a commands and this has not helped much.

The space gets consumed during each task I run in WebODM and even if I delete the task’s files, the space remains used up.

The only way I have found to get the space back is to start over.