Couldn't connect to Docker daemon

Hi,
I am new to docker.
I would really appreciate some assistance with setting up docker.
i tried installing docker and giving it permission to my C drive. i have a windows OS.
i tried running the command on ubuntu terminal and windows terminal both gave different errors.
can anyone help me in pointing out what i may be doing wrong.

i have attached screen shot of the terminals and their errors.

i have even tried running the sudo command.