简体   繁体   English

是否可以在 Windows 上运行 Linux 个容器?

[英]Is it possible to run Linux containers on Windows?

Have created Linux containers using docker. Is it possible to run Linux containers on Windows?已经使用 docker 创建了 Linux 个容器。是否可以在 Windows 上运行 Linux 个容器?

Sure.当然。 This is possible through the power of WSL 2.这可以通过 WSL 2 的强大功能实现。

Docker Desktop, will setup WSL2 for you. Docker 桌面,将为您设置 WSL2。

https://docs.docker.com/desktop/windows/install/ https://docs.docker.com/desktop/windows/install/

Yes, firstly install Docker Desktop for Windows :是的,首先为 Windows 安装 Docker 桌面

https://docs.docker.com/desktop/windows/install/ https://docs.docker.com/desktop/windows/install/

and that setup WSL 2 backend(select checkbox) via setupping:并且通过设置设置WSL 2后端(选择复选框): 在此处输入图像描述

or see more details about WSL2: Docker Desktop WSL2 Backend或查看有关 WSL2 的更多详细信息: Docker Desktop WSL2 Backend

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 linux 容器可以在 Windows 服务器容器上运行吗? - Can linux containers run on Windows Server containers? Docker for Windows如何运行Linux容器? - How does Docker for Windows run Linux containers? 是否可以在 Windows 容器中运行 GUI 应用程序? - Is it possible to run GUI apps in windows containers? 如何在 Windows Server 2016 Build 14393 上运行 Docker Linux 容器 - How to Run Docker Linux Containers on Windows Server 2016 Build 14393 在Azure DevOps Windows托管的生成代理中运行Linux容器 - Run Linux containers in an Azure DevOps Windows hosted build agent 如何使用Windows容器运行RabbitMQ Linux Docker映像? - How to run RabbitMQ linux Docker image using Windows Containers? 是否可以在 Windows 上运行 linux docker 映像 - Is it possible to run linux docker image on windows Windows主机上Linux容器的卷 - Volumes for Linux containers on windows host Windows 容器可以托管在 Linux 上吗? - Can Windows containers be hosted on Linux? In Docker Desktop for windows 10 with WSL2, where does docker containers live & how Linux containers can run a java app, but not windows nanoserver? - In Docker Desktop for windows 10 with WSL2, where does docker containers live & how Linux containers can run a java app, but not windows nanoserver?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM