I have a stand-alone Winform application. it is possible to containerize it in docker. Does docker support UI based application? Do I need docker for the purpose of testing the application?
Yes, it is possible. You will be able to Containerize it using https://hub.docker.com/_/microsoft-dotnet-framework-runtime. UI-based application is running on top of the .Net framework, so it is fully supported. However, will you able to interact with the UI is a different question. You can interact via command line or network but not 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.
No you can't successfully containerize a Winforms application that requires a GUI, because "containers don't support Graphic User Interface (GUI)" - at least at the time of writing this reply (July 2023).
"Containers aren't a solution equivalent to desktop application virtualization. They support only server-side applications that don't require an interactive session. Because they run on specialized container images, they support only those applications that don't need a graphical front end."
Reference: What can't be moved to Windows Containers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With