Unable to delete unwanted docker images

I want to remove all the unwanted docker images and containers from my system’s C: drive. Currently system running out of memory. I had used the commands but it’s showing the following error:

error during connect: Post https://192.168.99.100:2376/v1.40/containers/prune: dial tcp 192.168.99.100:2376: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

How do I resolve it?
image1
enter image description here

image2

Source: StackOverflow