I was trying a docker run from within Visual Studio Code and a bash terminal. Every time I ran docker run I was presented with: tls: oversized record received with length 20527
Some people suggested it was the corporate proxy causing issues. I set the proxy in the proxies tab, but, still received the error.
In this link someone suggested running docker.exe instead of docker.
This worked a treat.