简体   繁体   English

适用于Windows的Docker容器 - 桌面应用程序

[英]Docker Container for Windows - desktop app

If I create a container with windows image on it, is it possible to use a remote connection to actually see the desktop and , for example, play minesweeper? 如果我创建一个带有Windows图像的容器,是否可以使用远程连接实际看到桌面,例如,玩扫雷?

My use case is this: 我的用例是这样的:

I have hundreds of users. 我有数百名用户。 Each user need to create their our infrastructure consisting in about 6 machines linked together. 每个用户都需要创建我们的基础架构,其中包含大约6台链接在一起的计 After creating, the user will open some desktop gui apps on each one using a remote desktop connection. 创建后,用户将使用远程桌面连接在每个桌面上打开一些桌面gui应用程序。

No, this isn't something you will be able to do. 不,这不是你能做到的。

There are currently two Windows container images, microsoft/windowsservercore and microsoft/nanoserver 目前有两个Windows容器映像, microsoft/windowsservercoremicrosoft/nanoserver

nanoserver nanoserver

This blog post about TP4 (one of the earlier releases) says 这篇关于TP4(早期版本之一)的博文

The only option available when logging into console of a virtual machine running Nano Server or connecting a crash cart to a physical Nano Server is this very plain emergency console 登录到运行Nano Server的虚拟机的控制台或将故障车连接到物理Nano Server时,唯一可用的选项是这个非常简单的紧急控制台

This section on managing Nano server also states 关于管理Nano服务器的这一节也说明了

Nano Server is managed remotely. Nano Server是远程管理的。 There is no local logon capability at all, nor does it support Terminal Services. 根本没有本地登录功能,也不支持终端服务。

There is also this article , admittedly not from Microsoft, about Windows Nano server 还有一篇关于Windows Nano服务器的文章 ,诚然不是来自微软

Nano Server strips back the operating system further still, dropping things like the GUI stack, 32-bit Win32 support, local logins, and remote desktop support. Nano Server进一步剥离了操作系统,丢弃了GUI堆栈,32位Win32支持,本地登录和远程桌面支持等功能。

Nano Server is designed for two kinds of workload: cloud apps built on runtimes such as .NET, Java, Node.js, or Python, and cloud infrastructure, such as hosting Hyper-V virtual machines. Nano Server专为两种工作负载而设计:基于运行时(如.NET,Java,Node.js或Python)构建的云应用程序,以及托管Hyper-V虚拟机等云基础架构。

servercore servercore

Docker blog has a pretty interesting entry Introducing Docker for Windows Server 2016 . Docker博客有一个非常有趣的条目介绍Docker for Windows Server 2016 This part addresses the question of GUI apps 这部分解决了GUI应用程序的问题

The Windows Server Core image comes with a mostly complete userland with the processes and DLLs found on a standard Windows Server Core install. Windows Server Core映像带有一个主要完整的用户空间,其中包含在标准Windows Server Core安装上找到的进程和DLL。 With the exception of GUI apps and apps requiring Windows Remote Desktop, most apps that run on Windows Server can be dockerized to run in an image based on microsoft/windowsservercore with minimal effort. 除了需要Windows远程桌面的GUI应用程序和应用程序之外,在Windows Server上运行的大多数应用程序都可以停靠在基于microsoft / windowsservercore的映像中运行,只需要很少的工作量。


If you wanted to set up that kind of an environment, one option is to use something like Vagrant to orchestrate starting and provisioning regular windows VMs. 如果您想设置这种环境,一种选择是使用像Vagrant这样的东西来协调启动和配置常规Windows VM。 Though 6 windows VMs will not be easy on memory. 虽然6个Windows虚拟机在内存上并不容易。

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

相关问题 Windows Docker 桌面 Linux 模式 - Z05B6053C41A2130AFD6FC3B158BDA4wskEZ 容器时间 - Windows Docker Desktop Linux mode - docker container time skew "Docker Desktop Windows 和 VPN - 容器内没有网络连接" - Docker Desktop Windows and VPN - no network connection inside container 将Docker容器(django应用)连接到Windows Lan - Connect docker container (django app) to windows lan 适用于 Windows 的 Docker 桌面 - Docker Desktop for Windows 如何使用Docker Desktop / Hyper-V / MobyLinuxVM从Windows主机LAN透明地访问Linux容器 - How to acces transparently Linux container from Windows host LAN with Docker Desktop / Hyper-V / MobyLinuxVM 尝试在 Docker 桌面上的 ZAEA23489CE3AA9B46406CD1 上运行 Elasticsearch 容器时如何解决“... memory 未锁定”? - How to solve “… memory is not locked” while trying to run Elasticsearch container on Docker Desktop on Windows 10? .Net core Angular 应用程序在 Docker Windows 容器中运行 - .Net core Angular app running in a Docker Windows container Windows Server上的Docker容器 - Docker container on windows server 在Docker容器ASP.NET应用程序中集成Windows身份验证 - Integrating Windows Authentication in Docker Container ASP.NET App 在Windows中运行Docker容器 - Run a docker container into Windows
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM