簡體   English   中英

如何在 Windows 11 中的 linux 20.04 中運行 Docker

[英]How can run Docker in linux 20.04 in Windows 11

在此處輸入圖像描述

Hi, I have this problem, trying to running Docker in Ubuntu 20.04 in windows 11 using the WSL, I installed it using the official documentation in https://docs.docker.com/engine/install/linux-postinstall/ , I tried使用一些命令,例如:

  • 須藤服務 docker 開始 | 重新開始

告訴我確定,但是當我嘗試再次執行 run hello-world 命令時這不起作用。

你能幫我嗎?

您應該為 Windows安裝 Docker 並從那里管理它,而不是 WSL 中的服務。 然后在首選項中,您可以將其鏈接到 WSL2 ,它將安裝 Docker CLI。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM