Not able to pull repositories on terminal

Hi
I am unable to download an image from a registry in terminal for mac.
Typing ‘docker pull hello-world’ gives the error message below

Using default tag: latest
Error response from daemon: missing or empty Content-Length header

I have reinstalled docker desktop and configured it but the issue persists. The error is consistent across all docker images I try pull
On Intel chip mac, macos ventura v13.4, docker desktop v4.20.0, VirtualBox vs 7.0.8

Any suggestion of what to do?