在没有 Linux 服务器的 Windows 10 主机上的 Docker 容器中显示 GUI 应用程序 [英] Displaying GUI Application in Docker Container on Windows 10 Host Without Linux Servers

查看:23
本文介绍了在没有 Linux 服务器的 Windows 10 主机上的 Docker 容器中显示 GUI 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将带有 Windows 10 主机的 Windows 10 GUI 应用程序停靠在以 microsoft/nanoserver 为基础的容器中.

I'm trying to dockerize a Windows 10 GUI application with a Windows 10 host, in a container that has microsoft/nanoserver as the base.

目前我的应用程序安装在与我的 dockerfile 相同的目录中,我将它添加到我的 docker 上下文并运行它没有问题,除了 GUI 永远不会显示.

Currently I have the application installed in the same directory as my dockerfile, I add it to my docker context and run it no problem, except that the GUI never displays.

似乎要显示 GUI,我必须使用服务器(例如在这种情况下:Windows 10 Docker Host - 显示来自 Linux Container 的 GUI 应用程序) 但是因为我没有使用 linux 容器而是 windows 容器,所以关于 X11 服务器的东西没有似乎相关.

It seems that to display the GUI I would have to use a server (like in this case: Windows 10 Docker Host - Display GUI application from Linux Container) but because I'm not using a linux container but rather a windows container the stuff about X11 server doesn't seem relevant.

如何在纯窗口设置中配置 GUI 应用程序的显示设置?

推荐答案

目前不支持容器化 Windows GUI 应用程序.详情:

Containerizing Windows GUI apps is not currently supported. Details:

这篇关于在没有 Linux 服务器的 Windows 10 主机上的 Docker 容器中显示 GUI 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆