This error has had a lot of people stumped by the looks of their issues on GitHub. I think the error stems from downloading Docker through their main landing page. I tried a lot to fix the issue and with no luck. This included switching the DNS over to 188.8.131.52 which has been suggested in the past and worked.
My answer to the issue is don’t use the main landing page to install Docker. Instead, you want to download it from here and then everything should work as normal.
If you have any questions, or feel it hasn’t worked for you, then please let me know.
If you’d like a weekly email in your inbox, please join the newsletter by entering your email address below.