'What certificate does Docker CE require to run on WSL2 Ubuntu?

I think my WSL2 install is having issues with certificates. I am on a corporate network. I followed these instructions for installing Docker CE, Docker CLI, and Containerd.

https://docs.docker.com/engine/install/ubuntu/

My issues began trying to install from the repository. This was unsuccessful. I was able to download the .deb files instead through a browser, copy them to the Linux file structure, and successfully install that way.

But I'm still encountering issues related to certificates. See error message below.

Perhaps I need to copy some of my Windows certificates over to WSL2? I can find some material online about this, but I don't have permission to run PowerShell scripts to copy the full set, and I'm not that savvy with certificates in general. Which specific certificates does Docker CE require? Perhaps I can copy a smaller set manually through Windows Control Panel Manage Certificates. Is there a way to ask WSL2 to import my Windows certificates?

Appreciate any help!

$ sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": x509: certificate signed by unknown authority.
See 'docker run --help'.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source