简体   繁体   English

容器化C#Winforms应用程序

[英]Containerize C# Winforms Applications

I have a stand-alone Winform application. 我有一个独立的Winform应用程序。 it is possible to containerize it in docker. 可以将其容器化在docker中。 Does docker support UI based application? 码头工人是否支持基于UI的应用程序? Do I need docker for the purpose of testing the application? 我是否需要docker以测试应用程序?

Yes, it is possible. 对的,这是可能的。 You will be able to Containerize it using https://hub.docker.com/_/microsoft-dotnet-framework-runtime . 您将能够使用https://hub.docker.com/_/microsoft-dotnet-framework-runtime对其进行容器化。 UI-based application is running on top of the .Net framework, so it is fully supported. 基于UI的应用程序在.Net框架上运行,因此受到完全支持。 However, will you able to interact with the UI is a different question. 但是,是否能够与UI交互是另一个问题。 You can interact via command line or network but not UI. 您可以通过命令行或网络进行交互,但不能通过UI进行交互。

For testing, if you just test how the application works, you probably don't need Docker, but if you want to test the containerization then you will need Docker for Desktop. 对于测试,如果仅测试应用程序的工作方式,则可能不需要Docker,但是如果要测试容器化,则将需要Docker for Desktop。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM