If there is an effictive way to manage docker system driver space consumption?

I’m a new windows docker user with it installed automatically on my system driver. Previously informed about the growing size of images I have moved Disk image location to other driver. However I was still shocked of how the spare space in my system driver has shrank after testing remote pycharm kernel for a whole day.
Unaware of what’s consumed my C driver so vastly, I used Huorong Internet Security Agent to clear those junkfiles. Then those space seemed to have restored.
I don’t know if this method is potentially dangerous and if there are other meanings pls let me know