从 WSL2 中的 Docker 容器在 Windows 10 中启动 WebApp(Windows 没有 Docker)

Launch WebApp in Windows 10 from Docker container inside WSL2 (without Docker for Windows)

我在使用 Docker for Windows 时遇到了证书问题(With/Without 与 WSL2 的集成)。这是 Link.

我已经在 WSL2 中安装了 docker 并在 WSL2 中启动了 VSCode。一切正常,没有我遇到的 Docker for Windows 的问题。 唯一的问题是我不知道如何在 Windows 10 浏览器中启动 WebApp。当我没有安装 Windows 的 Docker 时,如何在我的 Windows 10 浏览器中从 WSL2 打开 docker 端口?

非常感谢您的指导。

问题已通过退出防病毒软件解决。即使暂停它也无济于事,因为防火墙仍然处于活动状态。