通过GUI访问Windows 2016 Server容器(Docker容器)?

时间:2016-02-26 13:11:13

标签: docker rdp vnc windows-server-2016

我需要在Windows 2016 Server上使用Docker / Windows容器,并准备在其上运行Windows应用程序。 通过Powershell配置Windows并不像在Ubuntu上那样方便,特别是如果你从未真正使用过Windows Server并需要学习所有Powershell命令;)

有没有办法通过GUI访问Windows容器?

Docker,Ubuntu,VNC可以实现: Can you run GUI apps in a docker container?

想知道是否可以为Windows容器做类似的事情吗?

(我在本地工作,不使用Azure。在这里找到一个类似但未回答的问题:https://stackoverflow.com/questions/32721422/windows-server-containers-azure-how-to-create-a-container-with-gui

感谢。

==更新==

RDP绝对不是2016年2月的选项 - 不确定他们是否打算在最终版本中支持它?!

https://msdn.microsoft.com/en-us/virtualization/windowscontainers/about/work_in_progress#remote-desktop

Remote Desktop

Windows Containers cannot be managed/interacted with through a RDP session in TP4.

到目前为止,我设法使用Midnight Commander至少拥有一个不错的文件资源管理器,但Windows上的命令行仍然不是很有趣。

1 个答案:

答案 0 :(得分:9)

在这个视频中,MS容器开发人员Taylor Brown表示他们将RDP从TP3分解为TP4,并且很可能不支持RTM Version Server 2016中的RDP

https://channel9.msdn.com/Events/TechNetVirtualConference/TechNetVC2016/Day-3-Containers-Session-with-QA

Dez的更新2018:

服务器2019已关闭,并且所有容器映像仍然无法/支持RDP。 (当然它对纳米图像没有任何意义)

查看已更改内容的详细介绍:https://stefanscherer.github.io/docker-on-windows-server-2019/

要有一个完整的概述,应该提到的是,在野外有一些黑客,可能RDP在一些图像和设置中工作,例如: https://withinrafael.com/2018/03/09/using-remote-desktop-services-in-containers/