Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dockerize a wpf application and use it

I'm trying to dockerize a wpf application. Just a simple app for that time.

for now i got this dockerfile :

FROM microsoft/nanoserver
WORKDIR C
run "$PATH"
#ENTRYPOINT ["C:\Users\TestDev\Documents\Visual Studio 2017\Projects\TestExe\TestExe\bin\Release\TestExe.exe"]
RUN  ["C:\Users\TestDev\Documents\Visual Studio 2017\Projects\TestExe\TestExe\bin\Release\TestExe.exe"]

Si i tried with entrypoint, run and cmd. But got this error :

The filename, directory name, or volume label syntax is incorrect.

And i would like know how it's work after run a container.

Thanks.

like image 655
Ganbo Avatar asked Jun 12 '17 15:06

Ganbo


1 Answers

You cannot run a WPF application in docker. Check https://msdn.microsoft.com/en-us/magazine/mt797650.aspx

like image 91
Prabhakaran Rajagopal Avatar answered Oct 13 '22 19:10

Prabhakaran Rajagopal